X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=audiod_command.c;h=77a0a1ee32bb7a1b3241afc549d999f124a6073e;hp=524fb57dbd7d81cd5cf96923ab7501bff7f1036e;hb=026a47094ea4f12def7b63aab81f5b1f3622a173;hpb=0a405367cdc8f3b0f49fb5ec3798378a2fc4589b diff --git a/audiod_command.c b/audiod_command.c index 524fb57d..77a0a1ee 100644 --- a/audiod_command.c +++ b/audiod_command.c @@ -520,6 +520,7 @@ void audiod_status_dump(void) old = stat_task->stat_item_values[SI_DECODER_FLAGS]; new = decoder_flags(); if (!old || strcmp(old, new)) { + free(old); stat_client_write(new, SI_DECODER_FLAGS); stat_task->stat_item_values[SI_DECODER_FLAGS] = new; } else