aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-12-12 18:29:04 +0100
committerMax Kellermann <max@duempel.org>2008-12-12 18:29:04 +0100
commit0d7142dcc98b6d6b30f4695ac0d317ed4a1a25b6 (patch)
tree481523e275d75c74f84607100120a64a1f7150e4 /src/main.c
parentcd533fcc84eb1b925c0165d3fb357cbd7845921a (diff)
downloadmpd-0d7142dcc98b6d6b30f4695ac0d317ed4a1a25b6.tar.gz
mpd-0d7142dcc98b6d6b30f4695ac0d317ed4a1a25b6.tar.xz
mpd-0d7142dcc98b6d6b30f4695ac0d317ed4a1a25b6.zip
main: deinitialize lyrics library
Free memory held by the plugin list at the end, make valgrind happier.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 752ccdfbb..67901371e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -510,6 +510,11 @@ main(int argc, const char *argv[])
#endif
exit_and_cleanup();
+
+#ifdef ENABLE_LYRICS_SCREEN
+ lyrics_deinit();
+#endif
+
ncu_deinit();
return 0;