bcook
70297880a3
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@ |
9 years ago | |
---|---|---|
src | fix some memory leaks in dns handling. | 9 years ago |