release wish history memory
The memory leak only happened at end of game so wasn't a big deal.
This commit is contained in:
@@ -1111,6 +1111,7 @@ freedynamicdata(void)
|
||||
cmdq_clear(CQ_REPEAT);
|
||||
cmdbind_freeall();
|
||||
free_tutorial(); /* (only needed if quitting while in tutorial) */
|
||||
wish_history_flush();
|
||||
|
||||
/* per-turn data, but might get added to when freeing other stuff */
|
||||
dobjsfree(); /* really free deleted objects */
|
||||
|
||||
Reference in New Issue
Block a user