aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r--src/microhttpd/daemon.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index a5f9f853..a4a9a2b8 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -5486,8 +5486,10 @@ MHD_start_daemon_va (unsigned int flags,
5486 _("Failed to create inter-thread communication channel: %s\n"), 5486 _("Failed to create inter-thread communication channel: %s\n"),
5487 MHD_itc_last_strerror_ ()); 5487 MHD_itc_last_strerror_ ());
5488#endif 5488#endif
5489#ifdef HTTPS_SUPPORT
5489 if (NULL != daemon->priority_cache) 5490 if (NULL != daemon->priority_cache)
5490 gnutls_priority_deinit (daemon->priority_cache); 5491 gnutls_priority_deinit (daemon->priority_cache);
5492#endif /* HTTPS_SUPPORT */
5491 free (daemon); 5493 free (daemon);
5492 return NULL; 5494 return NULL;
5493 } 5495 }
@@ -5500,8 +5502,10 @@ MHD_start_daemon_va (unsigned int flags,
5500 _("file descriptor for inter-thread communication channel exceeds maximum value\n")); 5502 _("file descriptor for inter-thread communication channel exceeds maximum value\n"));
5501#endif 5503#endif
5502 MHD_itc_destroy_chk_ (daemon->itc); 5504 MHD_itc_destroy_chk_ (daemon->itc);
5505#ifdef HTTPS_SUPPORT
5503 if (NULL != daemon->priority_cache) 5506 if (NULL != daemon->priority_cache)
5504 gnutls_priority_deinit (daemon->priority_cache); 5507 gnutls_priority_deinit (daemon->priority_cache);
5508#endif /* HTTPS_SUPPORT */
5505 free (daemon); 5509 free (daemon);
5506 return NULL; 5510 return NULL;
5507 } 5511 }