Uh, it looks to me that we should unref the gdk pixbuf
unconditionally.
This commit is contained in:
parent
d1e2adbbab
commit
9f10047113
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue