forked from github/server
parent
8c11cb676f
commit
728f7ed389
|
@ -918,8 +918,6 @@ void free_region(region * r)
|
|||
unit *u = r->units;
|
||||
r->units = u->next;
|
||||
uunhash(u);
|
||||
u->region = NULL;
|
||||
u_setfaction(u, NULL);
|
||||
free_unit(u);
|
||||
free(u);
|
||||
}
|
||||
|
|
|
@ -749,7 +749,6 @@ void free_units(void)
|
|||
while (deleted_units) {
|
||||
unit *u = deleted_units;
|
||||
deleted_units = deleted_units->next;
|
||||
u_setfaction(u, NULL);
|
||||
free_unit(u);
|
||||
free(u);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue