@@ -112,9 +112,23 @@
These functions are not part of X/Open Curses; nor do other implementa-
tions of curses provide a similar feature.
+ In any implementation of X/Open Curses, an application can free part of
+ the memory allocated by curses:
+
+ o The portable part of exit_curses can be freed using delscreen,
+ passing the SCREEN* pointer returned by newterm.
+
+ In some implementations, there is a global variable sp which could
+ be used, e.g., if the screen were only initialized using initscr.
+
+ o The portable part of exit_terminfo can be freed using del_curterm.
+
+ In this case, there is a global variable cur_term which can be used
+ as parameter.
+