Fix a memory leak on termination.

Found by Alex Smith.
This commit is contained in:
Sean Hunt
2015-03-25 14:34:28 -04:00
parent a355911c2c
commit 907a2dfee0
+1
View File
@@ -1316,6 +1316,7 @@ freedynamicdata()
/* level-specific data */ /* level-specific data */
free_timers(RANGE_LEVEL); free_timers(RANGE_LEVEL);
free_light_sources(RANGE_LEVEL); free_light_sources(RANGE_LEVEL);
clear_regions();
freemonchn(fmon); freemonchn(fmon);
free_worm(); /* release worm segment information */ free_worm(); /* release worm segment information */
freetrapchn(ftrap); freetrapchn(ftrap);