[librsvg] test-utils.c: Fix a leak
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] test-utils.c: Fix a leak
- Date: Mon, 4 Sep 2017 21:55:31 +0000 (UTC)
commit d996f28269b7b66c1bc0d9042e2e809d2114ea3f
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]