X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_memleaks.3x.html;h=7ac7342bf57a8e4ccd15964dcfc96f80ac9b55cd;hb=da409f83dde1caedbb9c84acaf5943275e60e0e0;hp=627bb72651dbd58910081e81295db94d0b56e470;hpb=81304798ee736c467839c779c9ca5dca48db7bea;p=ncurses.git diff --git a/doc/html/man/curs_memleaks.3x.html b/doc/html/man/curs_memleaks.3x.html index 627bb726..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).