From: Thierry Lorthiois Date: Wed, 8 Jun 2011 17:01:12 +0000 (+0000) Subject: Fix crash in launcher at tint2 unload/reload when falling back to the hicolor icon... X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=9296b3695c552753e2cd7a47b20262aba6158199;p=chaz%2Ftint2 Fix crash in launcher at tint2 unload/reload when falling back to the hicolor icon theme --- diff --git a/src/launcher/launcher.c b/src/launcher/launcher.c index 4e7a6f9..ef007ec 100644 --- a/src/launcher/launcher.c +++ b/src/launcher/launcher.c @@ -701,7 +701,7 @@ void launcher_load_themes(Launcher *launcher) // avoid inheritance loops if (!icon_theme_name) { fprintf(stderr, "Missing launcher theme, default to 'hicolor'.\n"); - icon_theme_name = "hicolor"; + icon_theme_name = strdup("hicolor"); } else fprintf(stderr, "Loading %s. Icon theme :", icon_theme_name);