]> git.cameronkatri.com Git - mandoc.git/commit
Clean up memory handling in spawn_pager(), free(3)ing everything
authorIngo Schwarze <schwarze@openbsd.org>
Mon, 4 Oct 2021 21:29:17 +0000 (21:29 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Mon, 4 Oct 2021 21:29:17 +0000 (21:29 +0000)
commita7c25043d00f4e0cf67030e75e84d041257befe1
tree5d3963c229d4fbb1b69302cfd4af046b3f521aa4
parent754f01c4be9fff22d32351a29e4bcdd5b1d24cf5
Clean up memory handling in spawn_pager(), free(3)ing everything
that is malloc(3)ed.  In addition to being less confusing, the new
code is also shorter by two lines.
main.c