summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/mta.c
diff options
context:
space:
mode:
authorEric Faurot <eric@cvs.openbsd.org>2011-10-23 17:09:57 +0000
committerEric Faurot <eric@cvs.openbsd.org>2011-10-23 17:09:57 +0000
commit8b3a50e556cbecf7d2c19e7e40fce0a2aa4d5341 (patch)
treeda722dfe198e451f1f7d2aea4c1cc2112e471694 /usr.sbin/smtpd/mta.c
parent7f7be081eacbf7bde7d297431b93f8a70307274c (diff)
plug leak
spotted by chl@ ok chl@
Diffstat (limited to 'usr.sbin/smtpd/mta.c')
-rw-r--r--usr.sbin/smtpd/mta.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/mta.c b/usr.sbin/smtpd/mta.c
index 0c0be404edc..c725aafdb50 100644
--- a/usr.sbin/smtpd/mta.c
+++ b/usr.sbin/smtpd/mta.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mta.c,v 1.116 2011/10/23 15:36:53 eric Exp $ */
+/* $OpenBSD: mta.c,v 1.117 2011/10/23 17:09:56 eric Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -520,6 +520,7 @@ mta_enter_state(struct mta_session *s, int newstate, void *p)
if (s->datafp)
fclose(s->datafp);
+ free(s->authmap);
free(s->secret);
free(s->host);
free(s->cert);