[librsvg] Fix more leaks in the test suite
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] Fix more leaks in the test suite
- Date: Thu, 10 Jan 2019 21:21:10 +0000 (UTC)
commit f56f2f36fa5b82cb40584aabfbf4c5e24ea6589e
Author: Federico Mena Quintero <federico gnome org>
Date: Wed Jan 9 14:18:13 2019 -0600
Fix more leaks in the test suite
tests/loading.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/tests/loading.c b/tests/loading.c
index 22e0398e..a48707b8 100644
--- a/tests/loading.c
+++ b/tests/loading.c
@@ -50,6 +50,9 @@ load_n_bytes_at_a_time (gconstpointer data)
}
} while (!done);
+ fclose (file);
+ g_free (filename);
+
g_assert (rsvg_handle_close (handle, NULL) != FALSE);
g_object_unref (handle);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]