OpenSSL: Fix memory leak during multi-message connections using STARTTLS
[exim.git] / src / src / daemon.c
index d032e467a9f7828e4d5777a665f1d52b28f2cefa..476ed296b61e57f62b7a801c1f18f788a34c8246 100644 (file)
@@ -653,7 +653,7 @@ if (pid == 0)
         the data structures if necessary. */
 
 #ifdef SUPPORT_TLS
-        tls_close(TRUE, FALSE);
+        tls_close(TRUE, TLS_NO_SHUTDOWN);
 #endif
 
         /* Reset SIGHUP and SIGCHLD in the child in both cases. */