]> Dogcows Code - chaz/tint2/blobdiff - src/launcher/launcher.c
Fix possible double free in launcher
[chaz/tint2] / src / launcher / launcher.c
index 2dba4fda40be6a34433dfdc042e90dccb4a91f03..b62c597e00c223fd275fdfadd4713c30570f4966 100644 (file)
@@ -119,7 +119,8 @@ void cleanup_launcher()
                g_slist_free(launcher->list_apps);
                launcher->list_apps = NULL;
        }
-       g_free(icon_theme_name);
+       free(icon_theme_name);
+       icon_theme_name = 0;
        launcher_enabled = 0;
 }
 
This page took 0.016994 seconds and 4 git commands to generate.