From e18f8443fb6fcb80e4891abe4038948b396a0e9a Mon Sep 17 00:00:00 2001 From: o9000 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 git-svn-id: http://tint2.googlecode.com/svn/trunk@637 121b4492-b84c-0410-8b4c-0d4edfb3f3cc --- 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);