gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 01/02: daemon.c: fixed leaked on error GnuTLS resource


From: gnunet
Subject: [libmicrohttpd] 01/02: daemon.c: fixed leaked on error GnuTLS resource
Date: Thu, 22 Oct 2020 16:24:36 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 53fec1c213590314369868abc2768f155f6f6938
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Thu Oct 22 16:52:15 2020 +0300

    daemon.c: fixed leaked on error GnuTLS resource
---
 src/microhttpd/daemon.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index b18885f0..ed4cd5ca 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -2563,6 +2563,7 @@ new_connection_prepare_ (struct MHD_Daemon *daemon,
                   "Failed to setup TLS credentials: unknown credential type 
%d.\n"),
                 daemon->cred_type);
 #endif
+      gnutls_deinit (connection->tls_session);
       MHD_socket_close_chk_ (client_socket);
       MHD_ip_limit_del (daemon,
                         addr,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]