diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2008-09-07 21:37:34 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2008-09-07 21:37:34 +0000 |
commit | d8f429526782a43ae97f3cba872e56f5394433dc (patch) | |
tree | 63978043b6405c49760af3720fc78ee6c6b7e69c | |
parent | cc3539eabd92c2eeca23c2f90ee9b93727e3b2ec (diff) | |
download | gtk+-d8f429526782a43ae97f3cba872e56f5394433dc.tar.gz |
Plug a small memory leak in an error path
svn path=/trunk/; revision=21313
-rw-r--r-- | gdk-pixbuf/ChangeLog | 5 | ||||
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf-io.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog index 9d5f62a152..6e0ad078c5 100644 --- a/gdk-pixbuf/ChangeLog +++ b/gdk-pixbuf/ChangeLog @@ -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 diff --git a/gdk-pixbuf/gdk-pixbuf-io.c b/gdk-pixbuf/gdk-pixbuf-io.c index b26fb5d001..b0558800ca 100644 --- a/gdk-pixbuf/gdk-pixbuf-io.c +++ b/gdk-pixbuf/gdk-pixbuf-io.c @@ -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; } |