diff options
author | Brent Cook <bcook@cvs.openbsd.org> | 2015-01-13 02:28:57 +0000 |
---|---|---|
committer | Brent Cook <bcook@cvs.openbsd.org> | 2015-01-13 02:28:57 +0000 |
commit | 71d9a978472deb6d07096a69239479f07e48a3e8 (patch) | |
tree | 3072b934171005a40a5555625225e8697557a546 /usr.sbin/ospfd | |
parent | 5aa9f23c744e3c358f3cead0caaba954e02fb248 (diff) |
fix some memory leaks in dns handling.
- Nothing seems to free the result of host_dns(), so add host_dns_free() and
call after each query.
- If imsg_add() fails, it frees buf. Avoid subsequently dereferencing the
freed buf in imsg_close().
ok millert@ deraadt@
Diffstat (limited to 'usr.sbin/ospfd')
0 files changed, 0 insertions, 0 deletions