Fix a memory leak on termination.

Found by Alex Smith.
This commit is contained in:
Sean Hunt
2015-03-25 14:34:03 -04:00
parent a355911c2c
commit 907a2dfee0

View File

@@ -1316,6 +1316,7 @@ freedynamicdata()
/* level-specific data */
free_timers(RANGE_LEVEL);
free_light_sources(RANGE_LEVEL);
clear_regions();
freemonchn(fmon);
free_worm(); /* release worm segment information */
freetrapchn(ftrap);