diff options
Diffstat (limited to 'ext/spl')
-rw-r--r-- | ext/spl/spl_array.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/spl/spl_array.c b/ext/spl/spl_array.c index ac1306e8b9..a2c56ae275 100644 --- a/ext/spl/spl_array.c +++ b/ext/spl/spl_array.c @@ -1480,7 +1480,8 @@ exit: } else { GC_DELREF(aht); } - efree(Z_REF(params[0])); + ZVAL_NULL(Z_REFVAL(params[0])); + zval_ptr_dtor(¶ms[0]); zend_string_free(Z_STR(function_name)); } } /* }}} */ |