# HG changeset patch # User nenolod # Date 1161721039 25200 # Node ID e549a118c972e76490df9af6c56af80e8a8993b2 # Parent dbdad146b6898c3afcf9f985e4045a826486df8f [svn] - fix memory leak once and for bloody all diff -r dbdad146b689 -r e549a118c972 ChangeLog --- a/ChangeLog Tue Oct 24 01:30:49 2006 -0700 +++ b/ChangeLog Tue Oct 24 13:17:19 2006 -0700 @@ -1,3 +1,11 @@ +2006-10-24 08:30:49 +0000 William Pitcock + revision [2759] + - make a note about the 1.2 release page. + + trunk/NEWS | 2 ++ + 1 file changed, 2 insertions(+) + + 2006-10-24 08:28:01 +0000 William Pitcock revision [2757] - 1.2.0 final diff -r dbdad146b689 -r e549a118c972 audacious/widgets/playlist_list.c --- a/audacious/widgets/playlist_list.c Tue Oct 24 01:30:49 2006 -0700 +++ b/audacious/widgets/playlist_list.c Tue Oct 24 13:17:19 2006 -0700 @@ -119,6 +119,8 @@ ximg, ximg->bpl, w, h, 60, 60, 60, shade_color->pixel); gdk_draw_image(p, gc, ximg, 0, 0, x, y, w, h); + + g_object_unref(ximg); } else { cfg.playlist_transparent = FALSE; @@ -175,13 +177,11 @@ static GdkFilterReturn root_event_cb (GdkXEvent *xev, GdkEventProperty *event, gpointer data) { - static Atom at = None; XEvent *xevent = (XEvent *)xev; if (xevent->type == PropertyNotify) { - if (at == None) - at = XInternAtom (xevent->xproperty.display, "_XROOTPMAP_ID", True); + Atom at = XInternAtom (xevent->xproperty.display, "_XROOTPMAP_ID", True); if (at == xevent->xproperty.atom) {