summaryrefslogtreecommitdiffstats
path: root/man.cgi.8
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2021-10-04 20:24:06 +0000
committerIngo Schwarze <schwarze@openbsd.org>2021-10-04 20:24:06 +0000
commit6fbe38912d7f8b9ee6a226f22eaacc688f92d264 (patch)
tree19813dc41b0d609f262850ea5f8e5e3b77b1e3b5 /man.cgi.8
parent3d2bee60386823d65fd28f111425ea3de7585bb7 (diff)
downloadmandoc-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.cgi.8')
0 files changed, 0 insertions, 0 deletions