output: deinitialize notify object

Free memory allocated by the notify object (GMutex, GCond) when it's
not used by the output object anymore.
This commit is contained in:
Max Kellermann 2009-01-07 23:53:28 +01:00
parent 97ae4a499a
commit 405c102c17
1 changed files with 2 additions and 0 deletions

View File

@ -140,6 +140,8 @@ void audio_output_finish(struct audio_output *audioOutput)
audioOutput->plugin->finish(audioOutput->data);
if (audioOutput->convBuffer)
free(audioOutput->convBuffer);
notify_deinit(&audioOutput->notify);
}
void audio_output_send_tag(struct audio_output *audioOutput,