forked from github/server
leak: region_owner data was never released
This commit is contained in:
parent
8e9e9c9c0f
commit
bdf4834dc2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue