* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_memleaks.3x,v 1.13 2022/02/12 20:05:11 tom Exp @
+ * @Id: curs_memleaks.3x,v 1.15 2022/06/04 23:33:48 tom Exp @
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
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:
+
+ <STRONG>o</STRONG> The portable part of <STRONG>exit_curses</STRONG> can be freed using <STRONG>delscreen</STRONG>,
+ passing the <STRONG>SCREEN*</STRONG> pointer returned by <STRONG>newterm</STRONG>.
+
+ In some implementations, there is a global variable <STRONG>sp</STRONG> which could
+ be used, e.g., if the screen were only initialized using <STRONG>initscr</STRONG>.
+
+ <STRONG>o</STRONG> The portable part of <STRONG>exit_terminfo</STRONG> can be freed using <STRONG>del_curterm</STRONG>.
+
+ In this case, there is a global variable <STRONG>cur_term</STRONG> which can be used
+ as parameter.
+
</PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
- <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>.
+ <STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG>, <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG>. <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>.