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:
parent
8c30957671
commit
d3723e727c
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user