Commit 8942a3a2 authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor
Browse files

Fix leaked pixbuf reference (#96823, Morten Welinder)

Tue Nov  5 14:16:17 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk-pixbuf-loader.c (gdk_pixbuf_loader_close): Fix
        leaked pixbuf reference (#96823, Morten Welinder)
parent 66cefd1c
Tue Nov 5 14:16:17 2002 Owen Taylor <otaylor@redhat.com>
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_close): Fix
leaked pixbuf reference (#96823, Morten Welinder)
2002-10-23 Matthias Clasen <maclas@gmx.de>
* io-gif.c (lzw_read_byte): Check for stack overflow throughout.
......
......@@ -629,6 +629,7 @@ gdk_pixbuf_loader_close (GdkPixbufLoader *loader,
pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, tmp->has_alpha, 8, priv->width, priv->height);
g_object_unref (priv->animation);
priv->animation = gdk_pixbuf_non_anim_new (pixbuf);
g_object_unref (pixbuf);
g_signal_emit (loader, pixbuf_loader_signals[AREA_PREPARED], 0);
gdk_pixbuf_scale (tmp, pixbuf, 0, 0, priv->width, priv->height, 0, 0,
(double) priv->width / tmp->width,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment