summaryrefslogtreecommitdiffstats
path: root/test-strsep.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2021-10-04 18:56:31 +0000
committerIngo Schwarze <schwarze@openbsd.org>2021-10-04 18:56:31 +0000
commit3d2bee60386823d65fd28f111425ea3de7585bb7 (patch)
treee1cd71fdca51a50f88b8fec70f0b9a7763574a39 /test-strsep.c
parentd9e36737be633b363b9bcd7279d111cf27e49f8a (diff)
downloadmandoc-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 'test-strsep.c')
0 files changed, 0 insertions, 0 deletions