diff options
author | Gilles Chehade <gilles@poolp.org> | 2018-08-31 23:04:49 +0200 |
---|---|---|
committer | Gilles Chehade <gilles@poolp.org> | 2018-08-31 23:04:49 +0200 |
commit | a92f0e5784518d098d1e48d8a805d2efe4fa07fd (patch) | |
tree | c44cf58603480b6ea05c49d743a17950d56ed841 /smtpd/smtp_client.c | |
parent | sync (diff) | |
download | OpenSMTPD-a92f0e5784518d098d1e48d8a805d2efe4fa07fd.tar.xz OpenSMTPD-a92f0e5784518d098d1e48d8a805d2efe4fa07fd.zip |
sync with OpenBSD
Diffstat (limited to 'smtpd/smtp_client.c')
-rw-r--r-- | smtpd/smtp_client.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/smtpd/smtp_client.c b/smtpd/smtp_client.c index 289ff3b2..8b28f3a6 100644 --- a/smtpd/smtp_client.c +++ b/smtpd/smtp_client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smtp_client.c,v 1.5 2018/06/09 10:01:17 eric Exp $ */ +/* $OpenBSD: smtp_client.c,v 1.6 2018/08/30 11:58:01 eric Exp $ */ /* * Copyright (c) 2018 Eric Faurot <eric@openbsd.org> @@ -209,13 +209,13 @@ smtp_client_free(struct smtp_client *proto) if (proto->mail) fatalx("current task should have been deleted already"); + smtp_closed(proto->tag, proto); + if (proto->io) io_free(proto->io); free(proto->reply); free(proto); - - smtp_closed(proto->tag, proto); } /* |