diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2021-10-04 20:24:06 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2021-10-04 20:24:06 +0000 |
commit | 6fbe38912d7f8b9ee6a226f22eaacc688f92d264 (patch) | |
tree | 19813dc41b0d609f262850ea5f8e5e3b77b1e3b5 /man.7 | |
parent | 3d2bee60386823d65fd28f111425ea3de7585bb7 (diff) | |
download | mandoc-6fbe38912d7f8b9ee6a226f22eaacc688f92d264.tar.gz |
In man(1) mode, properly clean up the resn[] result array
after processing each name given on the command line.
Failure to do so resulted in a memory leak of about 50 kilobytes
per name given on the command line. Since man(1) uses a few
Megabytes of memory anyway and people rarely give hundreds of names
on the command line, this leak did not cause practical problems,
but cleaning up properly is better in any case.
Diffstat (limited to 'man.7')
0 files changed, 0 insertions, 0 deletions