mirror of
https://github.com/profanity-im/profanity.git
synced 2025-02-02 15:08:15 -05:00
Fix invalid reads in unit tests
This commit is contained in:
parent
2559ad5370
commit
8e5dafdea5
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user