mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Fix memory leak in unittests
This commit is contained in:
parent
6d11cd2db3
commit
0499c4e0ee
@ -57,6 +57,7 @@ void cmd_roster_shows_roster_when_no_args(void **state)
|
||||
gboolean result = cmd_roster(NULL, CMD_ROSTER, args);
|
||||
assert_true(result);
|
||||
|
||||
g_slist_free(roster);
|
||||
roster_destroy();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user