1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-28 13:00:45 +00:00

Fix a leak in mpd.cc (refcount fail)

This commit is contained in:
Pavel Labath 2010-03-18 21:31:18 +01:00
parent 8c30957671
commit d3723e727c

View File

@ -99,8 +99,6 @@ void init_mpd(void)
{ {
if (!(refcount++)) /* first client */ if (!(refcount++)) /* first client */
memset(&mpd_info, 0, sizeof(mpd_info)); memset(&mpd_info, 0, sizeof(mpd_info));
refcount++;
} }
static void clear_mpd(void) static void clear_mpd(void)