mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
Plug a small memory leak in an error path
svn path=/trunk/; revision=21313
This commit is contained in:
parent
cc3539eabd
commit
d8f4295267
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user