diff --git a/fvwm/module_list.c b/fvwm/module_list.c index 13f571833..931f0c24d 100644 --- a/fvwm/module_list.c +++ b/fvwm/module_list.c @@ -1094,7 +1094,7 @@ void CMD_ModuleSynchronous(F_CMD_ARGS) int sec = 0; char *next; char *token; - char *expect = ModuleFinishedStartupResponse; + char *expect = fxstrdup(ModuleFinishedStartupResponse); fmodule *module; fd_set in_fdset; fd_set out_fdset;