diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2013-07-15 13:52:06 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2013-07-15 13:52:06 +0000 |
commit | a2b76d9d3d6cf6a707933ea4b12ea3344c111fc3 (patch) | |
tree | 65b874a913b72db4e4bd5b53fb799fc684993320 /usr.bin/less | |
parent | dec9492b2208a8ff62d3e004111f47e29f931f36 (diff) |
When a ucom(4) device is detached do not only abort its pipes but also
free them and makes sure to close the attached tty before freeing its
descriptor. This plugs a memleak and fixes a panic introduce in r1.59.
Found the hard way and tested by otto@
Diffstat (limited to 'usr.bin/less')
0 files changed, 0 insertions, 0 deletions