Gentoo Archives: gentoo-commits

From: "Jim Ramsay (lack)" <lack@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-plugins/gkrellsun/files: gkrellsun-1.0.0-reenable.patch
Date: Wed, 28 Jul 2010 14:52:01
Message-Id: 20100728144156.20BE42C5F2@corvid.gentoo.org
1 lack 10/07/28 14:41:55
2
3 Added: gkrellsun-1.0.0-reenable.patch
4 Log:
5 Patch double-free of PangoFontDescription (Bug #284504)
6 (Portage version: 2.1.8.3/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 x11-plugins/gkrellsun/files/gkrellsun-1.0.0-reenable.patch
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/gkrellsun/files/gkrellsun-1.0.0-reenable.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/gkrellsun/files/gkrellsun-1.0.0-reenable.patch?rev=1.1&content-type=text/plain
13
14 Index: gkrellsun-1.0.0-reenable.patch
15 ===================================================================
16 diff --git a/src20/gkrellsun.c b/src20/gkrellsun.c
17 index f3adff5..0738bfc 100644
18 --- a/src20/gkrellsun.c
19 +++ b/src20/gkrellsun.c
20 @@ -1140,7 +1140,10 @@ cb_plugin_disabled()
21
22 save_sun_data();
23
24 - if (textOptions.fontDesc) pango_font_description_free (textOptions.fontDesc);
25 + if (textOptions.fontDesc) {
26 + pango_font_description_free (textOptions.fontDesc);
27 + textOptions.fontDesc = NULL;
28 + }
29
30 /* This happens when user quits X Windows and gkrellm2 is still running */
31 if (colormap == NULL)