summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/fdf/fdf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/fdf/fdf.c b/ext/fdf/fdf.c
index ddcc04a14d..c337467fea 100644
--- a/ext/fdf/fdf.c
+++ b/ext/fdf/fdf.c
@@ -1818,10 +1818,10 @@ PHP_FUNCTION(fdf_enum_values) {
if (!zend_is_callable(callback, 0, &name)) {
convert_to_string(&name);
php_error_docref1(NULL TSRMLS_CC, Z_STRVAL(name), E_WARNING, "Second argument is expected to be a valid callback");
- zval_ptr_dtor(&name);
+ zval_dtor(&name);
RETURN_FALSE;
}
- zval_ptr_dtor(&name);
+ zval_dtor(&name);
FDF_G(enum_callback) = callback;
FDF_G(enum_fdf) = fdf;