[librsvg/librsvg-2.40] test-utils.c: Fix a leak
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/librsvg-2.40] test-utils.c: Fix a leak
- Date: Wed, 4 Oct 2017 13:01:54 +0000 (UTC)
commit 54c4e1a8e1356286eb6f4e23d0f902eb985b059b
Author: Federico Mena Quintero <federico gnome org>
Date: Mon Sep 4 16:53:41 2017 -0500
test-utils.c: Fix a leak
tests/test-utils.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tests/test-utils.c b/tests/test-utils.c
index e7506b1..40d3d07 100644
--- a/tests/test-utils.c
+++ b/tests/test-utils.c
@@ -63,6 +63,7 @@ test_utils_add_test_for_all_files (const gchar *prefix,
relative_path = g_file_get_path (file);
test_path = g_strconcat (prefix, "/", relative_path, NULL);
+ g_free (relative_path);
g_test_add_data_func_full (test_path, g_object_ref (file), test_func, g_object_unref);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]