From: Max Kellermann Date: Fri, 17 Mar 2017 21:41:16 +0000 (+0100) Subject: main: remove redundant mpdclient_disconnect() call X-Git-Tag: v0.26~64 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e2175069f7f5d63aa6cb5cd159fd1c8d151007f2;p=ncmpc.git main: remove redundant mpdclient_disconnect() call mpdclient_free() will do this implicitly. --- 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); } }