summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn van Duren <martijn@cvs.openbsd.org>2020-12-20 13:27:47 +0000
committerMartijn van Duren <martijn@cvs.openbsd.org>2020-12-20 13:27:47 +0000
commit5480a700d3b9c39f03100bc0884ffb2d8dda8c24 (patch)
treeb64f28fef0ab80b220c71e0714bb91bb55c2c421
parent74c8b07753109c768d1b7378909e1ac0444c5519 (diff)
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 9891e6140a3..21b10ce1033 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>
@@ -535,6 +535,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);
}