diff options
author | Michael Vetter <jubalh@iodoru.org> | 2019-10-06 17:50:29 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2019-10-06 17:50:29 +0200 |
commit | 6776e3964491f18dac11f7964f12c26190bf971a (patch) | |
tree | d70ff5229b5aa3f163073ea34417f8d305021dd2 /tests | |
parent | d2a087145cc9caf36aca041fca189760e70cc369 (diff) | |
download | profani-tty-6776e3964491f18dac11f7964f12c26190bf971a.tar.gz |
Fix memleak in test_parser unittest
Regards https://github.com/profanity-im/profanity/issues/1019
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unittests/test_parser.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unittests/test_parser.c b/tests/unittests/test_parser.c index 695c3cf4..fed53c1e 100644 --- a/tests/unittests/test_parser.c +++ b/tests/unittests/test_parser.c @@ -385,6 +385,8 @@ parse_cmd_with_second_and_third_arg_quoted_0_min_3_max(void **state) assert_string_equal("add", args[0]); assert_string_equal("The Group", args[1]); assert_string_equal("The User", args[2]); + + g_strfreev(args); } void |