diff --git a/src/inputPlugins/mod_plugin.c b/src/inputPlugins/mod_plugin.c index 2a03cc404..0ea7dffad 100644 --- a/src/inputPlugins/mod_plugin.c +++ b/src/inputPlugins/mod_plugin.c @@ -222,7 +222,7 @@ MpdTag * modTagDup(char * file) { ret = newMpdTag(); ret->time = 0; - ret->title = Player_LoadTitle(file); + ret->title = strdup(Player_LoadTitle(file)); fail: MikMod_Exit();