summaryrefslogtreecommitdiff
path: root/ext/interbase/php_ibase_udf.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/interbase/php_ibase_udf.c')
-rw-r--r--ext/interbase/php_ibase_udf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/interbase/php_ibase_udf.c b/ext/interbase/php_ibase_udf.c
index f7dfe2db15..2ba9405a3d 100644
--- a/ext/interbase/php_ibase_udf.c
+++ b/ext/interbase/php_ibase_udf.c
@@ -298,11 +298,11 @@ static void call_php(char *name, PARAMDSC *r, int argc, PARAMDSC **argv)
case dtype_sql_date:
case dtype_sql_time:
case dtype_timestamp:
- zval_dtor(&args[i]);
+ zval_ptr_dtor_nogc(&args[i]);
}
}
- zval_dtor(&callback);
+ zval_ptr_dtor_str(&callback);
/* return whatever type we got back from the callback: let DB handle conversion */
switch (Z_TYPE(return_value)) {
@@ -334,7 +334,7 @@ static void call_php(char *name, PARAMDSC *r, int argc, PARAMDSC **argv)
break;
}
- zval_dtor(&return_value);
+ zval_ptr_dtor(&return_value);
return;