summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg.c
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/phpdbg/phpdbg.c')
-rw-r--r--sapi/phpdbg/phpdbg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c
index d025294f1f..fd15f80984 100644
--- a/sapi/phpdbg/phpdbg.c
+++ b/sapi/phpdbg/phpdbg.c
@@ -137,9 +137,8 @@ static void php_phpdbg_destroy_bp_condition(void *data) /* {{{ */
static void php_phpdbg_destroy_registered(void *data) /* {{{ */
{
- TSRMLS_FETCH();
-
zend_function *function = (zend_function*) data;
+ TSRMLS_FETCH();
destroy_zend_function(
function TSRMLS_CC);