GtkImage: Always close the loader

This was causing some tests to fail with a critical.
This commit is contained in:
Matthias Clasen 2014-07-31 00:12:30 +02:00
parent bd7e7d1dd6
commit 83c9fe109e

View File

@ -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);