From c04bda102b5ed5c3c57253c43a976dff2435bab4 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Wed, 14 Oct 2015 20:56:09 +0200 Subject: [PATCH] call free_order for each remaining reference --- src/kernel/order.test.c | 2 ++ 1 file changed, 2 insertions(+) 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(); }