CVSROOT: /cvs Module name: src Changes by: bc...@cvs.openbsd.org 2015/01/12 19:28:56
Modified files: usr.sbin/ntpd : config.c ntp_dns.c ntpd.c ntpd.h Log message: 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@