diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2021-10-04 18:56:31 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2021-10-04 18:56:31 +0000 |
commit | 3d2bee60386823d65fd28f111425ea3de7585bb7 (patch) | |
tree | e1cd71fdca51a50f88b8fec70f0b9a7763574a39 /lib.c | |
parent | d9e36737be633b363b9bcd7279d111cf27e49f8a (diff) | |
download | mandoc-3d2bee60386823d65fd28f111425ea3de7585bb7.tar.gz |
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.
Diffstat (limited to 'lib.c')
0 files changed, 0 insertions, 0 deletions