projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- fix HttpRequest::getResponseCookies()
[m6w6/ext-http]
/
http_request_object.c
diff --git
a/http_request_object.c
b/http_request_object.c
index 93ce0109fa35f9f7dcfd62db3797ffa92c3968f2..40b9dd3451bb6cb6366674cbc300c0e7f7670ab6 100644
(file)
--- 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);
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);
}
}
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);
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);
}
}
zval_ptr_dtor(header);
}