Mercurial > audlegacy
diff audacious/playlist_list.c @ 813:c8cf439179b8 trunk
[svn] - Fix a ton and a half of memory leaks, via the wonderful Leonardo Boshell <leonardop -at- gentoo.org>.
author | nenolod |
---|---|
date | Fri, 10 Mar 2006 08:20:15 -0800 |
parents | 047100d5a37d |
children | 45ec63505a4e |
line wrap: on
line diff
--- a/audacious/playlist_list.c Thu Mar 09 19:09:41 2006 -0800 +++ b/audacious/playlist_list.c Fri Mar 10 08:20:15 2006 -0800 @@ -753,15 +753,12 @@ } - playlist_rect->x = 0; - playlist_rect->y = 0; - playlist_rect->width = plw_w; - playlist_rect->height = plw_h; - gdk_gc_set_clip_origin(gc, 0, 0); gdk_gc_set_clip_rectangle(gc, NULL); PLAYLIST_UNLOCK(); + + g_free(playlist_rect); }