summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/c_mpdview.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/c_mpdview.c b/src/c_mpdview.c
index d2e77f1..0fa059c 100644
--- a/src/c_mpdview.c
+++ b/src/c_mpdview.c
@@ -69,5 +69,6 @@ main
(void)argv;
(void)envp;
mpd_connection_free(conn);
+ conn = NULL;
return (EXIT_SUCCESS);
}