summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/mta.c
diff options
context:
space:
mode:
authorEric Faurot <eric@cvs.openbsd.org>2018-05-28 11:12:13 +0000
committerEric Faurot <eric@cvs.openbsd.org>2018-05-28 11:12:13 +0000
commit6198acf399f79251775c04d3a2fe9816b09a7783 (patch)
tree88fd64bc474e66da51994b02851f4cb8fc734692 /usr.sbin/smtpd/mta.c
parentc54f7a74f605cde45fb5135b82a8aec607452596 (diff)
missing m_close()
ok gilles@
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 fc2dcd96108..e4157d539fe 100644
--- a/usr.sbin/smtpd/mta.c
+++ b/usr.sbin/smtpd/mta.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mta.c,v 1.207 2018/05/24 11:38:24 gilles Exp $ */
+/* $OpenBSD: mta.c,v 1.208 2018/05/28 11:12:12 eric Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -1052,6 +1052,7 @@ mta_on_smarthost(struct envelope *evp, const char *smarthost)
m_add_evpid(p_queue, evp->id);
m_add_string(p_queue, "Cannot retrieve smarthost");
m_add_int(p_queue, ESC_OTHER_STATUS);
+ m_close(p_queue);
return;
}