gtk+ r21313 - trunk/gdk-pixbuf



Author: matthiasc
Date: Sun Sep  7 21:37:34 2008
New Revision: 21313
URL: http://svn.gnome.org/viewvc/gtk+?rev=21313&view=rev

Log:
Plug a small memory leak in an error path


Modified:
   trunk/gdk-pixbuf/ChangeLog
   trunk/gdk-pixbuf/gdk-pixbuf-io.c

Modified: trunk/gdk-pixbuf/gdk-pixbuf-io.c
==============================================================================
--- trunk/gdk-pixbuf/gdk-pixbuf-io.c	(original)
+++ trunk/gdk-pixbuf/gdk-pixbuf-io.c	Sun Sep  7 21:37:34 2008
@@ -402,6 +402,7 @@
 		if (file_formats == NULL)
 			g_warning ("Cannot open pixbuf loader module file '%s': %s",
 				   filename, error->message);
+		g_free (filename);
 		return;
 	}
 	



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