From bdf4834dc2ac0f96fbcf8f886080272f88f66b92 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Wed, 14 Oct 2015 12:22:37 +0200 Subject: [PATCH] leak: region_owner data was never released --- src/kernel/region.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/kernel/region.c b/src/kernel/region.c index 1b4bf838e..dd83af4e6 100644 --- a/src/kernel/region.c +++ b/src/kernel/region.c @@ -753,6 +753,7 @@ void remove_region(region ** rlist, region * r) static void freeland(land_region * lr) { + free(lr->ownership); while (lr->demands) { struct demand *d = lr->demands; lr->demands = d->next;