From d3723e727c911de1fb52ff506aa868156ccae05e Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Thu, 18 Mar 2010 21:31:18 +0100 Subject: [PATCH] Fix a leak in mpd.cc (refcount fail) --- src/mpd.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mpd.cc b/src/mpd.cc index c096f055..c3dbddca 100644 --- a/src/mpd.cc +++ b/src/mpd.cc @@ -99,8 +99,6 @@ void init_mpd(void) { if (!(refcount++)) /* first client */ memset(&mpd_info, 0, sizeof(mpd_info)); - - refcount++; } static void clear_mpd(void)