diff --git a/src/mympd.c b/src/mympd.c index 42e2bd1..dbf47c0 100644 --- a/src/mympd.c +++ b/src/mympd.c @@ -207,6 +207,7 @@ int main(int argc, char **argv) if (getuid() == 0) { printf("myMPD should not be run with root privileges\n"); + mg_mgr_free(&mgr); return EXIT_FAILURE; }