forked from github/server
call free_order for each remaining reference
This commit is contained in:
parent
a3b27ad6d2
commit
c04bda102b
1 changed files with 2 additions and 0 deletions
|
@ -167,6 +167,8 @@ static void test_replace_order(CuTest *tc) {
|
|||
CuAssertPtrNotNull(tc, orders);
|
||||
CuAssertPtrEquals(tc, 0, orders->next);
|
||||
CuAssertIntEquals(tc, getkeyword(repl), getkeyword(orders));
|
||||
free_order(orders);
|
||||
free_order(repl);
|
||||
test_cleanup();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue