about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-10-10 19:02:23 +0200
committerMichael Vetter <jubalh@iodoru.org>2019-10-10 19:02:23 +0200
commit8e5dafdea5ece162acdec66ba3f77c8af44f124e (patch)
treef33ed18ae0e3a0b30d5e4fb723196b48dd08b277
parent2559ad5370d1476242e271a2ae51ba27d7bef013 (diff)
downloadprofani-tty-8e5dafdea5ece162acdec66ba3f77c8af44f124e.tar.gz
Fix invalid reads in unit tests
-rw-r--r--tests/unittests/test_cmd_roster.c2
1 files changed, 0 insertions, 2 deletions
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);
 }