Up to [cvsweb.bsd.lv] / mandoc
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: HEAD
Revision 1.7 / (download) - annotate - [select for diffs], Mon Oct 4 18:56:31 2021 UTC (2 years, 11 months ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +17 -7 lines
Diff to previous 1.6 (colored)
Provide a cleanup function for the term_tab module, freeing memory and resetting the internal state to the initial state. Call this function from the proper place in term_free(). With the way the module is currently used, this does not imply any functional change, but doing proper cleanup is more robust, makes it easier during code review to understand what is going on, and makes it explicit that there is no memory leak.