diff options
Diffstat (limited to 'tests/unittests')
-rw-r--r-- | tests/unittests/test_common.c | 2 | ||||
-rw-r--r-- | tests/unittests/ui/stub_ui.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/unittests/test_common.c b/tests/unittests/test_common.c index 8df3790a..0e26b704 100644 --- a/tests/unittests/test_common.c +++ b/tests/unittests/test_common.c @@ -605,7 +605,7 @@ void strip_quotes_strips_first(void **state) char *result = strip_arg_quotes(input); assert_string_equal("/cmd test string", result); - + free(result); } diff --git a/tests/unittests/ui/stub_ui.h b/tests/unittests/ui/stub_ui.h index 81357a86..d4488c4b 100644 --- a/tests/unittests/ui/stub_ui.h +++ b/tests/unittests/ui/stub_ui.h @@ -3,4 +3,4 @@ void expect_any_cons_show(void); void expect_cons_show_error(char *expected); void expect_any_cons_show_error(void); void expect_ui_current_print_line(char *message); -void expect_ui_current_print_formatted_line(char show_char, int attrs, char *message); \ No newline at end of file +void expect_ui_current_print_formatted_line(char show_char, int attrs, char *message); |