1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-07-21 18:24:14 -04:00

Fix memory leak in unittests

This commit is contained in:
Dmitry Podgorny 2019-10-14 00:23:02 +03:00
parent 6d11cd2db3
commit 0499c4e0ee

View File

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