From e09e71f08264c22f6c6038988591f0069f5b6240 Mon Sep 17 00:00:00 2001 From: Richard Kettlewell Date: Sat, 14 Nov 2009 12:39:04 +0000 Subject: [PATCH 1/1] Unref dead pixmaps. --- disobedience/queue-generic.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/disobedience/queue-generic.c b/disobedience/queue-generic.c index 21b353e..081be81 100644 --- a/disobedience/queue-generic.c +++ b/disobedience/queue-generic.c @@ -492,6 +492,8 @@ static void ql_drag_begin(GtkWidget attribute((unused)) *w, 0, y, /* dest coords */ pxw, pxh); /* size */ y += pxh; + gdk_drawable_unref(qdbs->pixmaps[n]); + qdbs->pixmaps[n] = NULL; } // TODO scale down a bit, the resulting icons are currently a bit on the // large side. -- 2.11.0