- proper request pool cleanup
[m6w6/ext-http] / http_request_object.c
index 1cc8df566c0589f5d386b57dd7125bf0b22f070c..055a43e8104b8047a7534d00c8c11d56e1373cf6 100644 (file)
@@ -156,7 +156,7 @@ zend_object_value _http_request_object_new(zend_class_entry *ce TSRMLS_DC)
        o = ecalloc(1, sizeof(http_request_object));
        o->zo.ce = ce;
        o->ch = curl_easy_init();
-       o->attached = 0;
+       o->pool = NULL;
 
        phpstr_init_ex(&o->response, HTTP_CURLBUF_SIZE, 0);