Oops when air_defense() somehow leaks interceptors
This commit is contained in:
parent
f105db1082
commit
1a75f8fe04
1 changed files with 2 additions and 0 deletions
|
@ -1426,6 +1426,8 @@ air_defense(coord x, coord y, natid victim, struct emp_qelem *bomb_list,
|
||||||
|
|
||||||
pln_put(&i);
|
pln_put(&i);
|
||||||
}
|
}
|
||||||
|
if (CANT_HAPPEN(!QEMPTY(&interceptors)))
|
||||||
|
pln_put(&interceptors);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* We have to free all of these, if they are still there, otherwise they get
|
/* We have to free all of these, if they are still there, otherwise they get
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue