Oops when air_defense() somehow leaks interceptors

This commit is contained in:
Markus Armbruster 2008-03-22 19:47:30 +01:00
parent f105db1082
commit 1a75f8fe04

View file

@ -1426,6 +1426,8 @@ air_defense(coord x, coord y, natid victim, struct emp_qelem *bomb_list,
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