emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/image.c,v


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/src/image.c,v
Date: Fri, 25 Jul 2008 14:04:03 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      08/07/25 14:04:03

Index: image.c
===================================================================
RCS file: /sources/emacs/emacs/src/image.c,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -b -r1.107 -r1.108
--- image.c     25 Jul 2008 05:51:24 -0000      1.107
+++ image.c     25 Jul 2008 14:04:02 -0000      1.108
@@ -9021,12 +9021,13 @@
   fn_rsvg_handle_close (rsvg_handle, &error);
   if (error)
     goto rsvg_error;
+
   /* We can now get a valid pixel buffer from the svg file, if all
      went ok.  */
   pixbuf = fn_rsvg_handle_get_pixbuf (rsvg_handle);
+  fn_rsvg_handle_free (rsvg_handle);
   if (!pixbuf)
     goto rsvg_error;
-  fn_rsvg_handle_free (rsvg_handle);
 
   /* Extract some meta data from the svg handle.  */
   width     = fn_gdk_pixbuf_get_width (pixbuf);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]