being freed when there's no more reference to them
zend_llist_add_element(&pool->bodies, &body);
ZVAL_ADDREF(request);
- Z_OBJ_ADDREF_P(request);
#if HTTP_DEBUG_REQPOOLS
fprintf(stderr, "> %d HttpRequests attached to pool %p\n", zend_llist_count(&pool->handles), pool);
#endif
ZVAL_ADDREF(*req);
- Z_OBJ_ADDREF_PP(req);
zend_llist_add_element(&obj->pool->finished, req);
http_request_object_responsehandler(obj, *req);
}
static void _http_requestpool_object_llist2array(zval **req, zval *array TSRMLS_DC)
{
ZVAL_ADDREF(*req);
- Z_OBJ_ADDREF_PP(req);
add_next_index_zval(array, *req);
}