delwin() rather than free() on WINDOWs.
This commit is contained in:
parent
adac388f03
commit
d8d42c42b2
@ -25,7 +25,7 @@ struct frame *initialize_frame() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void delete_frame(struct frame *frame) {
|
void delete_frame(struct frame *frame) {
|
||||||
free(frame->shape);
|
delwin(frame->shape);
|
||||||
free(frame);
|
free(frame);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user