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;