blob: 4b15d8467e64336f8e5ad0966fd58f04cfe52c3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- a/src20/gkrellsun.c
+++ b/src20/gkrellsun.c
@@ -1140,7 +1140,10 @@ cb_plugin_disabled()
save_sun_data();
- if (textOptions.fontDesc) pango_font_description_free (textOptions.fontDesc);
+ if (textOptions.fontDesc) {
+ pango_font_description_free (textOptions.fontDesc);
+ textOptions.fontDesc = NULL;
+ }
/* This happens when user quits X Windows and gkrellm2 is still running */
if (colormap == NULL)
|