summaryrefslogtreecommitdiffstats
path: root/src/xsasl/xsasl_dovecot_server.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-12-12 16:10:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-12-12 16:10:49 +0000
commit4bf2526f886d71a067a1004ee5be2b75d0f721f7 (patch)
tree6d07da5e11537220569c748c2af66ae9db991d15 /src/xsasl/xsasl_dovecot_server.c
parentReleasing progress-linux version 3.9.0-2~progress7.99u1. (diff)
downloadpostfix-4bf2526f886d71a067a1004ee5be2b75d0f721f7.tar.xz
postfix-4bf2526f886d71a067a1004ee5be2b75d0f721f7.zip
Merging upstream version 3.9.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/xsasl/xsasl_dovecot_server.c')
-rw-r--r--src/xsasl/xsasl_dovecot_server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xsasl/xsasl_dovecot_server.c b/src/xsasl/xsasl_dovecot_server.c
index 4a0c085..ac93a2d 100644
--- a/src/xsasl/xsasl_dovecot_server.c
+++ b/src/xsasl/xsasl_dovecot_server.c
@@ -297,6 +297,7 @@ static int xsasl_dovecot_server_connect(XSASL_DOVECOT_SERVER_IMPL *xp)
(unsigned int) getpid());
if (vstream_fflush(sasl_stream) == VSTREAM_EOF) {
msg_warn("SASL: Couldn't send handshake: %m");
+ (void) vstream_fclose(sasl_stream);
return (-1);
}
success = 0;