Fix possible double free in launcher

git-svn-id: http://tint2.googlecode.com/svn/trunk@643 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
o9000
2011-10-22 00:52:55 +00:00
committed by mrovi%interfete-web-club.com@gtempaccount.com
parent 88c133a9a7
commit e6882fcf36
2 changed files with 3 additions and 2 deletions

View 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;
}