--- a/gdk-pixbuf/gdk-pixbuf-loader.c	2013-04-15 21:48:06.000000000 +0800
+++ b/gdk-pixbuf/gdk-pixbuf-loader.c	2013-05-18 01:48:39.000000000 +0800
@@ -327,8 +327,9 @@
 
         if (!priv->size_fixed) 
                 {
+                        gint w = width, h = height;
                         /* Defend against lazy loaders which don't call size_func */
-                        gdk_pixbuf_loader_size_func (&width, &height, loader);
+                        gdk_pixbuf_loader_size_func (&w, &h, loader);
                 }
 
         priv->needs_scale = FALSE;
