From 57937f2eb2a0ea0831752f238baf7c4548ef3f71 Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Fri, 12 Feb 2010 05:06:56 -0600 Subject: [PATCH] Module Parameter Editor: Don't use local allocation to store label. --- mixer/src/Module_Parameter_Editor.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mixer/src/Module_Parameter_Editor.C b/mixer/src/Module_Parameter_Editor.C index 74c6f11..8266644 100644 --- a/mixer/src/Module_Parameter_Editor.C +++ b/mixer/src/Module_Parameter_Editor.C @@ -60,7 +60,7 @@ Module_Parameter_Editor::Module_Parameter_Editor ( Module *module ) : Fl_Double_ char title[512]; snprintf( title, sizeof( title ), "%s - %s - %s", "Mixer", module->chain()->name(), lab ); - label( title ); + label( strdup( title ) ); { Fl_Pack *o = main_pack = new Fl_Pack( 0, y(), w(), h() - 10 ); o->type( FL_VERTICAL );