diff --git moc/server.c moc/server.c index f2e15fc..58e0c44 100644 --- moc/server.c +++ moc/server.c @@ -395,7 +395,7 @@ void on_song_change() return; curr_file = audio_get_sname(); - command = strdup(options_get_str("OnSongChange")); + command = xstrdup(options_get_str("OnSongChange")); if((command)&&(curr_file) && ((!last_file) || (strcmp(last_file,curr_file)))) {