summaryrefslogtreecommitdiff
path: root/usr.sbin/rip6query
diff options
context:
space:
mode:
authorBrent Cook <bcook@cvs.openbsd.org>2015-01-13 02:28:57 +0000
committerBrent Cook <bcook@cvs.openbsd.org>2015-01-13 02:28:57 +0000
commit71d9a978472deb6d07096a69239479f07e48a3e8 (patch)
tree3072b934171005a40a5555625225e8697557a546 /usr.sbin/rip6query
parent5aa9f23c744e3c358f3cead0caaba954e02fb248 (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/rip6query')
0 files changed, 0 insertions, 0 deletions