diff --git a/src/kernel/order.test.c b/src/kernel/order.test.c index b53fd9d05..635e6e078 100644 --- a/src/kernel/order.test.c +++ b/src/kernel/order.test.c @@ -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(); }