From 8e5dafdea5ece162acdec66ba3f77c8af44f124e Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Thu, 10 Oct 2019 19:02:23 +0200 Subject: Fix invalid reads in unit tests --- tests/unittests/test_cmd_roster.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests') diff --git a/tests/unittests/test_cmd_roster.c b/tests/unittests/test_cmd_roster.c index 1b6ab88c..ad0596b2 100644 --- a/tests/unittests/test_cmd_roster.c +++ b/tests/unittests/test_cmd_roster.c @@ -58,7 +58,6 @@ void cmd_roster_shows_roster_when_no_args(void **state) assert_true(result); roster_destroy(); - g_slist_free(roster); } void cmd_roster_add_shows_message_when_no_jid(void **state) @@ -234,5 +233,4 @@ void cmd_roster_clearnick_sends_name_change_request_with_empty_nick(void **state assert_null(p_contact_name(contact)); roster_destroy(); - g_slist_free(groups); } -- cgit 1.4.1-2-gfad0