]> granicus.if.org Git - nethack/commit
curses: plug most memory leaks
authorPatR <rankin@nethack.org>
Fri, 8 Feb 2019 23:50:59 +0000 (15:50 -0800)
committerPatR <rankin@nethack.org>
Fri, 8 Feb 2019 23:50:59 +0000 (15:50 -0800)
commitf3072cdb43b4f30636ee96b1e7459087c9962a3e
tree6efdaf1516619a870dffd7d6b5a2d3513ca9168e
parente991dd1b0c4192495c7e9092c10fa83bb6d81a24
curses: plug most memory leaks

This takes care of a lot of the leaked memory in the curses interface.
It still needs to free memory allocated for status fields when the
status window is destroyed at game end; likewise for message history
when the message window is destroyed.
win/curses/cursdial.c
win/curses/cursmesg.c