From: Michael Wallner Date: Thu, 22 Jan 2015 14:51:26 +0000 (+0100) Subject: the leak is actually from zend_list X-Git-Tag: RELEASE_3_0_0_RC1~67 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=6677c8d363e4a0f70654434be0762165621c22d9;p=m6w6%2Fext-http the leak is actually from zend_list --- diff --git a/php_http_message.c b/php_http_message.c index caf9ee8..1456950 100644 --- a/php_http_message.c +++ b/php_http_message.c @@ -806,8 +806,6 @@ php_http_message_object_t *php_http_message_object_new_ex(zend_class_entry *ce, o->message = msg; if (msg->parent) { o->parent = php_http_message_object_new_ex(ce, msg->parent); - /* not assigned to any zval, so refcount is 0 */ - --GC_REFCOUNT(&o->parent->zo); } o->body = php_http_message_body_object_new_ex(php_http_message_body_class_entry, php_http_message_body_init(&msg->body, NULL)); }