projects
/
m6w6
/
ext-pq
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
6f6cead
)
fix PHP-master
author
Michael Wallner
<mike@php.net>
Fri, 15 Jan 2021 12:38:41 +0000
(13:38 +0100)
committer
Michael Wallner
<mike@php.net>
Fri, 15 Jan 2021 12:38:41 +0000
(13:38 +0100)
src/php_pq_params.c
patch
|
blob
|
history
diff --git
a/src/php_pq_params.c
b/src/php_pq_params.c
index a3ee6b880a401051008b375f1e93c20906674503..259fbb9a13b1c4b6e3c2d243e5106f39c1e9763d 100644
(file)
--- a/
src/php_pq_params.c
+++ b/
src/php_pq_params.c
@@
-307,7
+307,8
@@
static int apply_to_params(zval *zp, void *arg_ptr)
{
struct apply_to_params_arg *arg = arg_ptr;
- SEPARATE_ZVAL_IF_NOT_REF(zp);
+ ZVAL_DEREF(zp);
+ SEPARATE_ZVAL(zp);
php_pq_params_set_param(arg->params, arg->index++, zp);
return ZEND_HASH_APPLY_KEEP;
}