]> Dogcows Code - chaz/tint2/blobdiff - src/panel.c
*fix* 2 memleaks
[chaz/tint2] / src / panel.c
index 3250806806398a38f1b9f2ae485f15b7a6ec6c01..c5597cb36e8d0d9b4ef0ddcc8bef5fdb1e538bdb 100644 (file)
@@ -318,6 +318,11 @@ void cleanup_panel()
                pango_font_description_free(panel_config.g_task.font_desc);
                panel_config.g_task.font_desc = 0;
        }
+
+       if (backgrounds) {
+               g_array_free(backgrounds, 1);
+               backgrounds = 0;
+       }
 }
 
 
This page took 0.02127 seconds and 4 git commands to generate.