delwin() rather than free() on WINDOWs.

This commit is contained in:
Murilo Soares Pereira 2010-04-01 11:14:11 -03:00
parent adac388f03
commit d8d42c42b2

View File

@ -25,7 +25,7 @@ struct frame *initialize_frame() {
}
void delete_frame(struct frame *frame) {
free(frame->shape);
delwin(frame->shape);
free(frame);
return;