aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-24 07:14:11 +0200
committerMax Kellermann <max@duempel.org>2008-09-24 07:14:11 +0200
commita0272c2d615e4579e8efb767cc6c28302b2c92cd (patch)
treef8868d8df4a4fd6defbb17db3d5d438903cbeff5 /src/main.c
parentee1d723ad7ec94e0db09ae8bab61a8952bfaaa32 (diff)
downloadmpd-a0272c2d615e4579e8efb767cc6c28302b2c92cd.tar.gz
mpd-a0272c2d615e4579e8efb767cc6c28302b2c92cd.tar.xz
mpd-a0272c2d615e4579e8efb767cc6c28302b2c92cd.zip
notify: added notify_deinit()
Destroy the mutex when it is not used anymore.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 3cfd75b3a..5b8377731 100644
--- a/src/main.c
+++ b/src/main.c
@@ -459,12 +459,16 @@ int main(int argc, char *argv[])
DEBUG("closeMp3Directory took %f seconds\n",
((float)(clock()-start))/CLOCKS_PER_SEC);
+ deinit_main_notify();
+
finishNormalization();
finishAudioDriver();
finishAudioConfig();
finishVolume();
finishPaths();
finishPermissions();
+ dc_deinit();
+ pc_deinit();
finishCommands();
decoder_plugin_deinit_all();
ob_free();