summaryrefslogtreecommitdiff
path: root/tests/pixbuf-random.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pixbuf-random.c')
-rw-r--r--tests/pixbuf-random.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/pixbuf-random.c b/tests/pixbuf-random.c
index 1f8646b23..ff940dab5 100644
--- a/tests/pixbuf-random.c
+++ b/tests/pixbuf-random.c
@@ -51,6 +51,8 @@ assault (const guchar *header, gsize header_size, int n_images)
if (err)
{
g_error_free (err);
+ g_object_unref (loader);
+ fclose (f);
continue;
}