mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 16:46:22 +00:00
Fix memory leak in unittests
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user