diff options
Diffstat (limited to 'usr.sbin/smtpd/config.c')
-rw-r--r-- | usr.sbin/smtpd/config.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.sbin/smtpd/config.c b/usr.sbin/smtpd/config.c index 577b09c992e..7cdb79def4d 100644 --- a/usr.sbin/smtpd/config.c +++ b/usr.sbin/smtpd/config.c @@ -1,4 +1,4 @@ -/* $OpenBSD: config.c,v 1.10 2010/04/20 15:34:56 jacekm Exp $ */ +/* $OpenBSD: config.c,v 1.11 2010/05/27 11:17:29 gilles Exp $ */ /* * Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -59,7 +59,6 @@ purge_config(struct smtpd *env, u_int8_t what) struct map *m; struct rule *r; struct cond *c; - struct opt *o; struct ssl *s; struct mapel *me; @@ -90,10 +89,6 @@ purge_config(struct smtpd *env, u_int8_t what) TAILQ_REMOVE(&r->r_conditions, c, c_entry); free(c); } - while ((o = TAILQ_FIRST(&r->r_options)) != NULL) { - TAILQ_REMOVE(&r->r_options, o, o_entry); - free(o); - } free(r); } free(env->sc_rules); |