diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-07-31 00:12:30 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-07-31 00:12:30 +0200 |
commit | 83c9fe109ea705fc6beabb561658aa08432ae0cf (patch) | |
tree | bd4d7f69ca7f26233480d27320e39af408754f8c /gtk/gtkimage.c | |
parent | bd7e7d1dd60aa2351d62bb096cd0db423aa9256f (diff) | |
download | gtk+-83c9fe109ea705fc6beabb561658aa08432ae0cf.tar.gz |
GtkImage: Always close the loader
This was causing some tests to fail with a critical.
Diffstat (limited to 'gtk/gtkimage.c')
-rw-r--r-- | gtk/gtkimage.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c index 98c969eb3f..80b514d98f 100644 --- a/gtk/gtkimage.c +++ b/gtk/gtkimage.c @@ -900,6 +900,7 @@ load_scalable_with_loader (GtkImage *image, } out: + gdk_pixbuf_loader_close (loader, NULL); g_object_unref (loader); g_bytes_unref (bytes); |