Mercurial > audlegacy
comparison 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 |
comparison
equal
deleted
inserted
replaced
812:f9a1ddb72432 | 813:c8cf439179b8 |
---|---|
751 pl->pl_widget.x + pl->pl_widget.width - tpadding, | 751 pl->pl_widget.x + pl->pl_widget.width - tpadding, |
752 (pl->pl_widget.y + pl->pl_widget.height)); | 752 (pl->pl_widget.y + pl->pl_widget.height)); |
753 | 753 |
754 } | 754 } |
755 | 755 |
756 playlist_rect->x = 0; | |
757 playlist_rect->y = 0; | |
758 playlist_rect->width = plw_w; | |
759 playlist_rect->height = plw_h; | |
760 | |
761 gdk_gc_set_clip_origin(gc, 0, 0); | 756 gdk_gc_set_clip_origin(gc, 0, 0); |
762 gdk_gc_set_clip_rectangle(gc, NULL); | 757 gdk_gc_set_clip_rectangle(gc, NULL); |
763 | 758 |
764 PLAYLIST_UNLOCK(); | 759 PLAYLIST_UNLOCK(); |
760 | |
761 g_free(playlist_rect); | |
765 } | 762 } |
766 | 763 |
767 | 764 |
768 PlayList_List * | 765 PlayList_List * |
769 create_playlist_list(GList ** wlist, | 766 create_playlist_list(GList ** wlist, |