aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormartijn <martijn@openbsd.org>2020-12-20 13:27:46 +0000
committerGilles CHEHADE <gilles@poolp.org>2020-12-21 09:24:04 +0100
commit434f0127e57608b0817cd2d6236976aa56a8e93f (patch)
treed9748b36986392f99998123923c92de7ffc2f5f1
parentMerge remote-tracking branch 'origin/openssl-ecdsa' into 6.8.0p1-rc2 (diff)
downloadOpenSMTPD-434f0127e57608b0817cd2d6236976aa56a8e93f.tar.xz
OpenSMTPD-434f0127e57608b0817cd2d6236976aa56a8e93f.zip
Free filter_name in lka_filter_end
From gilles@ OK millert@ eric@
-rw-r--r--usr.sbin/smtpd/lka_filter.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/lka_filter.c b/usr.sbin/smtpd/lka_filter.c
index 7931ede4..d7878d9f 100644
--- a/usr.sbin/smtpd/lka_filter.c
+++ b/usr.sbin/smtpd/lka_filter.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lka_filter.c,v 1.63 2020/09/16 11:19:42 martijn Exp $ */
+/* $OpenBSD: lka_filter.c,v 1.64 2020/12/20 13:27:46 martijn Exp $ */
/*
* Copyright (c) 2018 Gilles Chehade <gilles@poolp.org>
@@ -537,6 +537,7 @@ lka_filter_end(uint64_t reqid)
free(fs->mail_from);
free(fs->username);
free(fs->lastparam);
+ free(fs->filter_name);
free(fs);
log_trace(TRACE_FILTERS, "%016"PRIx64" filters session-end", reqid);
}