From d8d42c42b28e9df69dc8a6174b213dd984c6218a Mon Sep 17 00:00:00 2001 From: Murilo Soares Pereira Date: Thu, 1 Apr 2010 11:14:11 -0300 Subject: [PATCH] delwin() rather than free() on WINDOWs. --- lib/frame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/frame.c b/lib/frame.c index 57bce6d..0bb0327 100644 --- a/lib/frame.c +++ b/lib/frame.c @@ -25,7 +25,7 @@ struct frame *initialize_frame() { } void delete_frame(struct frame *frame) { - free(frame->shape); + delwin(frame->shape); free(frame); return;