Code

main: remove redundant mpdclient_disconnect() call
authorMax Kellermann <max.kellermann@gmail.com>
Fri, 17 Mar 2017 21:41:16 +0000 (22:41 +0100)
committerMax Kellermann <max.kellermann@gmail.com>
Fri, 17 Mar 2017 21:41:16 +0000 (22:41 +0100)
mpdclient_free() will do this implicitly.

src/main.c

index 53b3d893866f5e3c82b6c7e44767c6bbe2a8862f..1459df4baee3bf68c51e29dbfa043f63c83acad7 100644 (file)
@@ -106,7 +106,6 @@ exit_and_cleanup(void)
        printf("\n");
 
        if (mpd) {
-               mpdclient_disconnect(mpd);
                mpdclient_free(mpd);
        }
 }