From 8f4e7071199fd04eeb59fe83179fe3a822f4852e Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Sun, 6 Nov 2011 15:26:38 +0000 Subject: [PATCH] fix leak --- php_http_request_pool.c | 2 ++ 1 file changed, 2 insertions(+) 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) { -- 2.30.2