mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
Fix crash on startup when compiled with latest GTK2.
PR: ports/98929 [1], ports/98994 [2] Reported by: Guy Brand <gb@isis.u-strasbg.fr> [1] Submitted by: maintainer [2]
This commit is contained in:
parent
c83a62fe14
commit
3d0d03c71a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=165653
@ -8,7 +8,7 @@
|
||||
|
||||
PORTNAME= jpilot
|
||||
PORTVERSION= 0.99.8
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES+= palm comms
|
||||
MASTER_SITES= http://jpilot.org/
|
||||
|
||||
|
18
palm/jpilot/files/patch-jpilot
Normal file
18
palm/jpilot/files/patch-jpilot
Normal file
@ -0,0 +1,18 @@
|
||||
diff -u -r1.127 -r1.128
|
||||
--- jpilot.c 28 Nov 2005 07:22:22 -0000 1.127
|
||||
+++ jpilot.c 16 Dec 2005 13:33:27 -0000 1.128
|
||||
@@ -1,4 +1,4 @@
|
||||
-/* $Id: jpilot.c,v 1.127 2005/11/28 07:22:22 rikster5 Exp $ */
|
||||
+/* $Id: jpilot.c,v 1.128 2005/12/16 13:33:27 rousseau Exp $ */
|
||||
|
||||
/*******************************************************************************
|
||||
* jpilot.c
|
||||
@@ -1367,7 +1367,7 @@
|
||||
gdk_pixdata_from_pixbuf(pixdata, pixbuf, FALSE);
|
||||
data = gdk_pixdata_serialize(pixdata, &len);
|
||||
|
||||
- g_free(pixbuf);
|
||||
+ g_object_unref(pixbuf);
|
||||
g_free(pixdata);
|
||||
|
||||
return data;
|
Loading…
Reference in New Issue
Block a user