From: Michael Wallner Date: Wed, 12 Dec 2012 18:15:20 +0000 (+0000) Subject: fix crash with free'd event_base pointer X-Git-Tag: RELEASE_2_1_0_RC3~10^2^2~71 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=29da2f786a5e5afdace78adfded0b15c38a6a6cc;p=m6w6%2Fext-http fix crash with free'd event_base pointer --- diff --git a/php_http_curl_client_pool.c b/php_http_curl_client_pool.c index 5f17569..4edff74 100644 --- a/php_http_curl_client_pool.c +++ b/php_http_curl_client_pool.c @@ -571,6 +571,7 @@ PHP_RSHUTDOWN_FUNCTION(http_curl_client_pool) { if (PHP_HTTP_G->curl.event_base) { event_base_free(PHP_HTTP_G->curl.event_base); + PHP_HTTP_G->curl.event_base = NULL; } return SUCCESS; }