[librsvg] Fix more leaks in the test suite



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]