Date: Mon, 22 May 2006 22:42:16 -0400 From: "Alexandre \"Sunny\" Kovalenko" <Alex.Kovalenko@verizon.net> To: freebsd-ports@varju.ca Cc: ports@freebsd.org Subject: jpilot and FreeBSD-current Message-ID: <1148352136.1065.19.camel@RabbitsDen>
next in thread | raw e-mail | index | archive | help
--Boundary_(ID_ecd1XtQb9lJY9RfKPgpG9w) Content-type: text/plain; charset=iso-8859-5 Content-transfer-encoding: 8BIT Attached (simple) patch allows me to use jpilot on the -CURRENT as of May 21. I don't know whether it breaks anything, but, since pixbufs are allegedly reference counted, I don't think one supposed to g_free them anyway. Please, CC me when replying, I am not subscribing to the ports@ -- Alexandre Kovalenko (Олександр Коваленко) --Boundary_(ID_ecd1XtQb9lJY9RfKPgpG9w) Content-type: text/x-patch; name=jpilot.c.patch; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: attachment; filename=jpilot.c.patch --- work/jpilot-0.99.8/jpilot.c.ORIG Mon May 22 22:31:19 2006 +++ work/jpilot-0.99.8/jpilot.c Mon May 22 22:32:08 2006 @@ -1371,7 +1371,7 @@ gdk_pixdata_from_pixbuf(pixdata, pixbuf, FALSE); data = gdk_pixdata_serialize(pixdata, &len); - g_free(pixbuf); + g_object_unref(G_OBJECT(pixbuf)); g_free(pixdata); return data; --Boundary_(ID_ecd1XtQb9lJY9RfKPgpG9w)--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1148352136.1065.19.camel>