- Call __destruct
authorMarcus Boerger <helly@php.net>
Tue, 22 Feb 2005 11:35:44 +0000 (11:35 +0000)
committerMarcus Boerger <helly@php.net>
Tue, 22 Feb 2005 11:35:44 +0000 (11:35 +0000)
http.c

diff --git a/http.c b/http.c
index e6877998f0813cf8f600d9f4ae42e7afe37f4dea..2e6e5934b0414b0bdac7f8413e4bbb1a91b4b101 100644 (file)
--- a/http.c
+++ b/http.c
@@ -761,6 +761,8 @@ static inline void _httpi_request_declare_default_properties(zend_class_entry *c
 void _httpi_request_destroy_object(void *object, zend_object_handle handle TSRMLS_DC)
 {
        httpi_request_object *o = object;
+       
+       zend_objects_destroy_object(object, handle TSRMLS_CC);
 
        FREE_PARR(o->options);
        FREE_PARR(o->responseInfo);