mirror of
https://github.com/profanity-im/profanity.git
synced 2024-09-22 19:45:54 -04: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);
|
assert_true(result);
|
||||||
|
|
||||||
roster_destroy();
|
roster_destroy();
|
||||||
g_slist_free(roster);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void cmd_roster_add_shows_message_when_no_jid(void **state)
|
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));
|
assert_null(p_contact_name(contact));
|
||||||
|
|
||||||
roster_destroy();
|
roster_destroy();
|
||||||
g_slist_free(groups);
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user