summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 817c49e)
raw | patch | inline | side by side (parent: 817c49e)
author | Max Kellermann <max@duempel.org> | |
Fri, 14 Aug 2009 21:44:06 +0000 (23:44 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Fri, 14 Aug 2009 21:44:06 +0000 (23:44 +0200) |
Clean up before exiting, make valgrind happy.
src/screen.c | patch | blob | history |
diff --git a/src/screen.c b/src/screen.c
index e540fec303a145f0cc721d1d85aa48ed77f1c9c8..30a017d1edcdbb711ac48d66b9187f5673b0d176 100644 (file)
--- a/src/screen.c
+++ b/src/screen.c
string_list_free(screen.find_history);
g_free(screen.buf);
g_free(screen.findbuf);
+
+ delwin(screen.top_window.w);
+ delwin(screen.main_window.w);
+ delwin(screen.progress_window.w);
+ delwin(screen.status_window.w);
}
void