Plug a small memory leak in an error path

svn path=/trunk/; revision=21313
This commit is contained in:
Matthias Clasen 2008-09-07 21:37:34 +00:00
parent cc3539eabd
commit d8f4295267
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2008-09-07 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-io.c (gdk_pixbuf_io_init): Plug a small memory
leak in an error path.
2008-09-06 Matthias Clasen <mclasen@redhat.com>
Bug 517233 Calling gdk_pixbuf_loader_close causes "GError set over

View File

@ -402,6 +402,7 @@ gdk_pixbuf_io_init (void)
if (file_formats == NULL)
g_warning ("Cannot open pixbuf loader module file '%s': %s",
filename, error->message);
g_free (filename);
return;
}