diff --git a/src/move.test.c b/src/move.test.c index 79544d998..5c24ca72e 100644 --- a/src/move.test.c +++ b/src/move.test.c @@ -269,6 +269,7 @@ static void test_ship_trails(CuTest *tc) { CuAssertPtrEquals(tc, 0, a_find(r1->attribs, &at_shiptrail)); CuAssertPtrNotNull(tc, a_find(r2->attribs, &at_shiptrail)); CuAssertPtrNotNull(tc, a_find(r3->attribs, &at_shiptrail)); + free_regionlist(route); test_cleanup(); } @@ -290,6 +291,7 @@ static void test_age_trails(CuTest *tc) { CuAssertPtrNotNull(tc, r1->attribs); a_age(&r1->attribs); CuAssertPtrEquals(tc, 0, r1->attribs); + free_regionlist(route); test_cleanup(); }