From e2175069f7f5d63aa6cb5cd159fd1c8d151007f2 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 17 Mar 2017 22:41:16 +0100 Subject: [PATCH] main: remove redundant mpdclient_disconnect() call mpdclient_free() will do this implicitly. --- src/main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main.c b/src/main.c index 53b3d89..1459df4 100644 --- a/src/main.c +++ b/src/main.c @@ -106,7 +106,6 @@ exit_and_cleanup(void) printf("\n"); if (mpd) { - mpdclient_disconnect(mpd); mpdclient_free(mpd); } } -- 2.30.2