summaryrefslogtreecommitdiff
path: root/Zend/zend_opcode.c
diff options
context:
space:
mode:
authorStefan Esser <sesser@php.net>2004-06-06 08:37:12 +0000
committerStefan Esser <sesser@php.net>2004-06-06 08:37:12 +0000
commitfb5cb59035e1534618e38314460bd8060e1419b4 (patch)
tree7142ad232e0efa8f153e4646141a1c1ef7c7623c /Zend/zend_opcode.c
parent14deb9dd0474f203b1e12185b8263e37960d8277 (diff)
downloadphp-git-fb5cb59035e1534618e38314460bd8060e1419b4.tar.gz
Fixed Zend Function Destructor to use correct TSRM handle.
Diffstat (limited to 'Zend/zend_opcode.c')
-rw-r--r--Zend/zend_opcode.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/Zend/zend_opcode.c b/Zend/zend_opcode.c
index e4e3901f3d..4b4f598900 100644
--- a/Zend/zend_opcode.c
+++ b/Zend/zend_opcode.c
@@ -108,6 +108,13 @@ ZEND_API void destroy_zend_function(zend_function *function TSRMLS_DC)
}
}
+ZEND_API void zend_function_dtor(zend_function *function)
+{
+ TSRMLS_FETCH();
+
+ destroy_zend_function(function TSRMLS_CC);
+}
+
static void zend_cleanup_op_array_data(zend_op_array *op_array)
{
if (op_array->static_variables) {