release wish history memory

The memory leak only happened at end of game so wasn't a big deal.
This commit is contained in:
PatR
2026-03-25 15:54:44 -07:00
parent d939238ea6
commit f49ac037f9
3 changed files with 18 additions and 1 deletions

View File

@@ -3989,6 +3989,7 @@ extern char *item_what(int);
extern int destroy_items(struct monst *, int, int) NONNULLARG1;
extern int resist(struct monst *, char, int, int) NONNULLARG1;
extern void wish_history_add(char *);
extern void wish_history_flush(void);
extern void makewish(void);
extern const char *flash_str(int, boolean) NONNULL;