about summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/unittests/test_parser.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/unittests/test_parser.c b/tests/unittests/test_parser.c
index fed53c1e..e64438a4 100644
--- a/tests/unittests/test_parser.c
+++ b/tests/unittests/test_parser.c
@@ -357,6 +357,8 @@ parse_cmd_with_third_arg_quoted_0_min_3_max(void **state)
     assert_string_equal("add", args[0]);
     assert_string_equal("friends", args[1]);
     assert_string_equal("The User", args[2]);
+
+    g_strfreev(args);
 }
 
 void
@@ -371,6 +373,8 @@ parse_cmd_with_second_arg_quoted_0_min_3_max(void **state)
     assert_string_equal("add", args[0]);
     assert_string_equal("The Group", args[1]);
     assert_string_equal("friend", args[2]);
+
+    g_strfreev(args);
 }
 
 void