diff options
author | Alexander Larsson <alexl@redhat.com> | 2012-02-06 15:06:29 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2012-02-06 15:06:29 +0100 |
commit | cb625d21b4f19631cb52a44d4551295dfed19979 (patch) | |
tree | 19114b9116cd86531ac1c5c1d36908f3ba6890f8 /gtk/gtkcssimageurl.c | |
parent | af200feb0e9caa37cfb7d841e3fa2eb14a583038 (diff) | |
download | gtk+-cb625d21b4f19631cb52a44d4551295dfed19979.tar.gz |
Fix leak when parsing image urls
Diffstat (limited to 'gtk/gtkcssimageurl.c')
-rw-r--r-- | gtk/gtkcssimageurl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcssimageurl.c b/gtk/gtkcssimageurl.c index 3e61432e5a..51505c5c77 100644 --- a/gtk/gtkcssimageurl.c +++ b/gtk/gtkcssimageurl.c @@ -97,11 +97,11 @@ gtk_css_image_url_parse (GtkCssImage *image, _gtk_css_parser_take_error (parser, error); return FALSE; } - g_object_unref (file); pixbuf = gdk_pixbuf_new_from_stream (G_INPUT_STREAM (input), NULL, &error); g_object_unref (input); } + g_object_unref (file); if (pixbuf == NULL) { |