|
From: | Markus Doppelbauer |
Subject: | Re: [libmicrohttpd] Segfault after MHD_quiesce_daemon() |
Date: | Fri, 17 Jul 2015 09:57:29 +0200 |
Hello,
Maybe simply nullify "pos->pool" after MHD_pool_destroy()"?
Should avoid this double-free().
Or is there a chance to get the number of open connections
without calling "MHD_cleanup_connections()"?
Thanks a lot
Markus
}
}
MHD_pool_destroy (pos->pool);
+ pos->pool = NULL;
#if HTTPS_SUPPORT
if (NULL != pos->tls_session)
gnutls_deinit (pos->tls_session);
[Prev in Thread] | Current Thread | [Next in Thread] |