From: Richard Kettlewell Date: Sat, 14 Nov 2009 12:39:04 +0000 (+0000) Subject: Unref dead pixmaps. X-Git-Tag: 5.0~61^2~11 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/commitdiff_plain/e09e71f08264c22f6c6038988591f0069f5b6240?ds=sidebyside Unref dead pixmaps. --- 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.