Commit 58899b10 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Fix a memory leak

svn path=/trunk/; revision=18805
parent f0ac7485
2007-09-13 Matthias Clasen <>
* gdk-pixbuf-scaled-anim.c (get_scaled_pixbuf): Don't leak
2007-09-08 Matthias Clasen <>
* io-ani.c: Fix some possible crashes. (#468832, Michal Luczaj)
......@@ -145,7 +145,8 @@ get_scaled_pixbuf (GdkPixbufScaledAnim *scaled,
/* Copy the original pixbuf options to the scaled pixbuf */
if (options && scaled->current)
g_object_set_qdata (G_OBJECT (scaled->current), quark, g_strdupv (options));
g_object_set_qdata_full (G_OBJECT (scaled->current), quark,
g_strdupv (options), (GDestroyNotify) g_strfreev);
return scaled->current;
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