1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-23 21:45:30 +00:00

Fix invalid reads in unit tests

This commit is contained in:
Michael Vetter 2019-10-10 19:02:23 +02:00
parent 2559ad5370
commit 8e5dafdea5

View File

@ -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);
}