home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improved windows cleaning up: free win_meta, ncurses windows/pads.
[plomrogue]
/
src
/
rexit.c
diff --git
a/src/rexit.c
b/src/rexit.c
index 2907705af45948398966b77b2cf141bea3ef676c..8b32d4ad760aa3dacb1308c7b9f0938ff553ee38 100644
(file)
--- a/
src/rexit.c
+++ b/
src/rexit.c
@@
-65,6
+65,11
@@
static void cleanup(struct World * world)
{
free_win(world->wins.keys);
}
+ if (cleanup_flags & CLEANUP_WIN_META)
+ {
+ delwin(world->wins.meta->padframe.curses_win);
+ free(world->wins.meta);
+ }
if (cleanup_flags & CLEANUP_MAP_OBJECT_DEFS)
{
free_item_defs(world->item_def);