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:
parent
97ae4a499a
commit
405c102c17
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue