X-Git-Url: http://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_memleaks.3x.html;h=7ac7342bf57a8e4ccd15964dcfc96f80ac9b55cd;hb=c11444e368f1d5964bd0f81e6e3b0f8c8ccd09cc;hp=388d969a314661afa86560bc0fef4d7f02aafa9a;hpb=61790aa3ac9e0dff2b443ac567b174fc4d235b86;p=ncurses.git diff --git a/doc/html/man/curs_memleaks.3x.html b/doc/html/man/curs_memleaks.3x.html index 388d969a..7ac7342b 100644 --- a/doc/html/man/curs_memleaks.3x.html +++ b/doc/html/man/curs_memleaks.3x.html @@ -1,6 +1,6 @@ - @@ -36,7 +36,7 @@ curs_memleaks 3x - +

curs_memleaks 3x

@@ -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. +

SEE ALSO

-       curses(3x).
+       curs_initscr(3x), curs_terminfo(3x).  curses(3x).