summaryrefslogtreecommitdiff
path: root/Zend/zend_execute_API.c
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-12-21 11:08:00 +0000
committerAntony Dovgal <tony2001@php.net>2006-12-21 11:08:00 +0000
commitbed14f8ab751be853dc185257fc5251901e271d5 (patch)
tree4ae747953b9d6bdb2ffdfdde32d5c1880019f5aa /Zend/zend_execute_API.c
parent3ffc1c8f4a1e4c1658f94038e009e226258a65a4 (diff)
downloadphp-git-bed14f8ab751be853dc185257fc5251901e271d5.tar.gz
MFH
Diffstat (limited to 'Zend/zend_execute_API.c')
-rw-r--r--Zend/zend_execute_API.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c
index 0a0fba1f6f..dc13f5e7aa 100644
--- a/Zend/zend_execute_API.c
+++ b/Zend/zend_execute_API.c
@@ -870,6 +870,11 @@ int zend_call_function(zend_fcall_info *fci, zend_fcall_info_cache *fci_cache TS
zend_ptr_stack_n_push(&EG(argument_stack), 2, (void *) (long) i, NULL);
zend_ptr_stack_clear_multiple(TSRMLS_C);
}
+
+ if (call_via_handler) {
+ zval_ptr_dtor(&method_name);
+ zval_ptr_dtor(&params_array);
+ }
return FAILURE;
}
ALLOC_ZVAL(new_zval);