call free_order for each remaining reference

This commit is contained in:
Enno Rehling 2015-10-14 20:56:09 +02:00
parent a3b27ad6d2
commit c04bda102b

View file

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