From 67b6449577bc1905c4f3be9a4aa58660cb9bfa3a Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Mon, 4 Dec 2006 13:36:04 +0000 Subject: [PATCH] - fix object leakage when utilizing HttpRequest::onProgress() --- http_request_object.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/http_request_object.c b/http_request_object.c index 3f37f46..af4a2b9 100644 --- a/http_request_object.c +++ b/http_request_object.c @@ -732,6 +732,8 @@ STATUS _http_request_object_responsehandler(http_request_object *obj, zval *this zval_ptr_dtor(¶m); } + http_request_set_progress_callback(obj->request, NULL); + return ret; } -- 2.30.2