From 9296b3695c552753e2cd7a47b20262aba6158199 Mon Sep 17 00:00:00 2001 From: Thierry Lorthiois Date: Wed, 8 Jun 2011 17:01:12 +0000 Subject: [PATCH] Fix crash in launcher at tint2 unload/reload when falling back to the hicolor icon theme --- src/launcher/launcher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.45.2