Index: widgets/playlist_list.c =================================================================== --- widgets/playlist_list.c (revision 2752) +++ widgets/playlist_list.c (revision 2761) @@ -119,11 +119,14 @@ 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; } + g_object_unref(in); g_object_unref(gc); return p; @@ -174,16 +177,17 @@ 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) { + if (rootpix != NULL) + g_object_unref(rootpix); + rootpix = shade_pixmap(get_transparency_pixmap(), 0, 0, 0, 0, gdk_screen_width(), gdk_screen_height(), skin_get_color(bmp_active_skin, SKIN_PLEDIT_NORMALBG));