X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_memleaks.3x.html;h=499374aabe590fa955b397afe5343bd941c08c29;hp=d94946c64627ac7540089a844ebfaf7a913d583b;hb=58552e8c761a70f8f0bd591fecdf576fa8216e3e;hpb=6208c89f98f1cf9fe0980bd8e791846ce007a13d diff --git a/doc/html/man/curs_memleaks.3x.html b/doc/html/man/curs_memleaks.3x.html index d94946c6..499374aa 100644 --- a/doc/html/man/curs_memleaks.3x.html +++ b/doc/html/man/curs_memleaks.3x.html @@ -1,6 +1,6 @@ @@ -67,17 +67,18 @@ Any implementation of curses must not free the memory as- sociated with a screen, since (even after calling endwin), - it must be available for use in the next call to refresh. - There are also chunks of memory held for performance rea- - sons. That makes it hard to analyze curses applications - for memory leaks. To work around this, one can build a - debugging version of the ncurses library which frees those - chunks which it can, and provides these functions to free - all of the memory allocated by the ncurses library. - - The _nc_free_and_exit function is the preferred one since - some of the memory which is freed may be required for the - application to continue running. Its parameter is the + it must be available for use in the next call to re- + fresh(3x). There are also chunks of memory held for per- + formance reasons. That makes it hard to analyze curses + applications for memory leaks. To work around this, one + can build a debugging version of the ncurses library which + frees those chunks which it can, and provides these func- + tions to free all of the memory allocated by the ncurses + library. + + The _nc_free_and_exit function is the preferred one since + some of the memory which is freed may be required for the + application to continue running. Its parameter is the code to pass to the exit routine.