Remember to unref drawPixbuf

Backport r3823 from trunk.
This commit is contained in:
riccardom 2010-10-25 16:17:04 +00:00
parent d8855117b3
commit c68d27e738
1 changed files with 2 additions and 0 deletions

View File

@ -1223,6 +1223,8 @@ static gboolean ExposeDrawingArea (GtkWidget *widget, GdkEventExpose *event, gpo
gdk_cairo_set_source_pixbuf(cr, drawPixbuf, primaryOffsetX, primaryOffsetY);
}
g_object_unref(drawPixbuf);
cairo_paint(cr);
cairo_destroy(cr);