From: Michael Wallner Date: Sun, 6 Nov 2011 15:26:38 +0000 (+0000) Subject: fix leak X-Git-Tag: DEV_2-before-client~90 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=8f4e7071199fd04eeb59fe83179fe3a822f4852e;p=m6w6%2Fext-http fix leak --- diff --git a/php_http_request_pool.c b/php_http_request_pool.c index 9ee6f76..ec3e5ca 100644 --- a/php_http_request_pool.c +++ b/php_http_request_pool.c @@ -63,6 +63,8 @@ PHP_HTTP_API void php_http_request_pool_dtor(php_http_request_pool_t *h) if (h->persistent_handle_id) { zval_ptr_dtor(&h->persistent_handle_id); } + + php_http_resource_factory_free(&h->rf); } PHP_HTTP_API void php_http_request_pool_free(php_http_request_pool_t **h) {