diff options
Diffstat (limited to 'usr.sbin/smtpd/config.c')
-rw-r--r-- | usr.sbin/smtpd/config.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/config.c b/usr.sbin/smtpd/config.c index 094d4181404..73a76aca8fe 100644 --- a/usr.sbin/smtpd/config.c +++ b/usr.sbin/smtpd/config.c @@ -1,4 +1,4 @@ -/* $OpenBSD: config.c,v 1.53 2021/01/19 09:16:20 claudio Exp $ */ +/* $OpenBSD: config.c,v 1.54 2021/03/05 12:37:32 eric Exp $ */ /* * Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -252,6 +252,7 @@ purge_config(uint8_t what) if (what & PURGE_LISTENERS) { while ((l = TAILQ_FIRST(env->sc_listeners)) != NULL) { TAILQ_REMOVE(env->sc_listeners, l, entry); + free(l->pki); free(l); } free(env->sc_listeners); |