From: Max Kellermann Date: Fri, 12 Dec 2008 17:29:04 +0000 (+0100) Subject: main: deinitialize lyrics library X-Git-Tag: release-0.13~70 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0d7142dcc98b6d6b30f4695ac0d317ed4a1a25b6;p=ncmpc.git main: deinitialize lyrics library Free memory held by the plugin list at the end, make valgrind happier. --- diff --git a/src/main.c b/src/main.c index 752ccdf..6790137 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;