Code

main: deinitialize lyrics library
authorMax Kellermann <max@duempel.org>
Fri, 12 Dec 2008 17:29:04 +0000 (18:29 +0100)
committerMax Kellermann <max@duempel.org>
Fri, 12 Dec 2008 17:29:04 +0000 (18:29 +0100)
Free memory held by the plugin list at the end, make valgrind happier.

src/main.c

index 752ccdfbb6c1c4827bd85b9bd46a5627d16a2f77..67901371e7e1c721fe798c0612fc40f5e507a25a 100644 (file)
@@ -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;