X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=src%2Fwindows.c;h=389637b31b357e19bf6dfa886db749b257b944ca;hb=1872b8ed64328ebafec56b0888fa48f60fb4942b;hp=df67411da45ef6d7010b0dadea3e38c5a5f3b362;hpb=e6a78faa3052eff39bcadcaf81e2e3b5249071a7;p=plomrogue
diff --git a/src/windows.c b/src/windows.c
index df67411..389637b 100644
--- a/src/windows.c
+++ b/src/windows.c
@@ -440,6 +440,14 @@ extern uint8_t init_win(struct WinMeta * wmeta, struct Win ** wp, char * title,
+extern void free_winmeta(struct WinMeta * wmeta)
+{
+ delwin(wmeta->padframe.curses_win);
+ free(wmeta);
+}
+
+
+
extern void free_win(struct Win * win)
{
if (0 != win->frame.curses_win)