diff options
author | waker <wakeroid@gmail.com> | 2011-09-18 19:18:50 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-09-18 19:18:50 +0200 |
commit | a1fe093ae782eab7b1e7b093747262a0789a467c (patch) | |
tree | 4a4c593317e63febd8aa6a3e271dca14303849ed /playlist.c | |
parent | d6c42a055bf86ea8ccee8f4261aadff3441f906e (diff) |
fixed memleak caused by tooltip handler
Diffstat (limited to 'playlist.c')
-rw-r--r-- | playlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -145,7 +145,7 @@ pl_free (void) { for (playItem_t *it = playlists_head->head[PL_MAIN]; it; it = it->next[PL_MAIN]) { if (it->_refc > 1) { - fprintf (stderr, "\033[0;31mWARNING: playitem %p %s has refc=%d at delete time\033[37;0m\n", it, pl_find_meta (it, ":URI"), it->_refc); + fprintf (stderr, "\033[0;31mWARNING: playitem %p %s(%s) has refc=%d at delete time\033[37;0m\n", it, pl_find_meta (it, ":URI"), pl_find_meta (it, "track"), it->_refc); } } @@ -1964,7 +1964,7 @@ void pl_item_ref (playItem_t *it) { LOCK; it->_refc++; - //trace ("\033[0;34m+it %p: refc=%d: %s\033[37;0m\n", it, it->_refc, pl_find_meta (it, ":URI")); + //fprintf (stderr, "\033[0;34m+it %p: refc=%d: %s\033[37;0m\n", it, it->_refc, pl_find_meta (it, ":URI")); UNLOCK; } |