Clean up memory handling in spawn_pager(), free(3)ing everything
authorschwarze <schwarze@openbsd.org>
Mon, 4 Oct 2021 21:28:50 +0000 (21:28 +0000)
committerschwarze <schwarze@openbsd.org>
Mon, 4 Oct 2021 21:28:50 +0000 (21:28 +0000)
commit0ed293fbbd86fc7d81c058fe627e55ac4a36746c
tree3031ef6e2f0e55cdc6377642e984c76163c25f1b
parentbab1863b2fa404fe1188dd0378602e4644b626ab
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.
usr.bin/mandoc/main.c