Uh, it looks to me that we should unref the gdk pixbuf

unconditionally.
This commit is contained in:
riccardom 2010-05-15 15:59:16 +00:00
parent d1e2adbbab
commit 9f10047113
1 changed files with 1 additions and 3 deletions

View File

@ -1207,9 +1207,7 @@ static gboolean ExposeDrawingArea (GtkWidget *widget, GdkEventExpose *event, gpo
GDK_RGB_DITHER_NONE, 0,0);
}
drawPixbuf = NULL;
if ((hratio != 1.0) || (vratio != 1.0))
g_object_unref(resizedPixbuf);
g_object_unref(drawPixbuf);
return TRUE;
}