X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=http_request_object.c;h=40b9dd3451bb6cb6366674cbc300c0e7f7670ab6;hb=74b9f91575137bb94dfccb54bd5fd6a17d077c43;hp=93ce0109fa35f9f7dcfd62db3797ffa92c3968f2;hpb=e6b35fbe072a13b0e792952852fcd1499bd8e610;p=m6w6%2Fext-http diff --git a/http_request_object.c b/http_request_object.c index 93ce010..40b9dd3 100644 --- a/http_request_object.c +++ b/http_request_object.c @@ -1555,7 +1555,7 @@ PHP_METHOD(HttpRequest, getResponseCookies) object_init(cookie); http_cookie_list_tostruct(&list, cookie); add_next_index_zval(return_value, cookie); - zval_ptr_dtor(&cookie); + http_cookie_list_dtor(&list); } zval_ptr_dtor(single_header); } @@ -1569,7 +1569,7 @@ PHP_METHOD(HttpRequest, getResponseCookies) object_init(cookie); http_cookie_list_tostruct(&list, cookie); add_next_index_zval(return_value, cookie); - zval_ptr_dtor(&cookie); + http_cookie_list_dtor(&list); } zval_ptr_dtor(header); }