diff --git a/src/usr.sbin/ntpd/constraint.c b/src/usr.sbin/ntpd/constraint.c index 5b8cc21a..30bdda0f 100644 --- a/src/usr.sbin/ntpd/constraint.c +++ b/src/usr.sbin/ntpd/constraint.c @@ -1,4 +1,4 @@ -/* $OpenBSD: constraint.c,v 1.19 2015/10/12 06:50:08 reyk Exp $ */ +/* $OpenBSD: constraint.c,v 1.20 2015/11/17 15:34:36 deraadt Exp $ */ /* * Copyright (c) 2015 Reyk Floeter @@ -502,6 +502,7 @@ constraint_remove(struct constraint *cstr) close(cstr->fd); free(cstr->addr_head.name); free(cstr->addr_head.path); + free(cstr->addr); free(cstr); }