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 05:51:25 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      08/07/25 05:51:25

Index: image.c
===================================================================
RCS file: /sources/emacs/emacs/src/image.c,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -b -r1.106 -r1.107
--- image.c     21 Jul 2008 17:47:24 -0000      1.106
+++ image.c     25 Jul 2008 05:51:24 -0000      1.107
@@ -9024,7 +9024,9 @@
   /* We can now get a valid pixel buffer from the svg file, if all
      went ok.  */
   pixbuf = fn_rsvg_handle_get_pixbuf (rsvg_handle);
-  eassert (pixbuf);
+  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]