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);
|
GDK_RGB_DITHER_NONE, 0,0);
|
||||||
}
|
}
|
||||||
|
|
||||||
drawPixbuf = NULL;
|
g_object_unref(drawPixbuf);
|
||||||
if ((hratio != 1.0) || (vratio != 1.0))
|
|
||||||
g_object_unref(resizedPixbuf);
|
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue