diff options
Diffstat (limited to 'ext/xmlrpc')
-rw-r--r-- | ext/xmlrpc/xmlrpc-epi-php.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/xmlrpc/xmlrpc-epi-php.c b/ext/xmlrpc/xmlrpc-epi-php.c index 01de63fec2..c2cfe3b32a 100644 --- a/ext/xmlrpc/xmlrpc-epi-php.c +++ b/ext/xmlrpc/xmlrpc-epi-php.c @@ -570,9 +570,7 @@ static XMLRPC_VALUE PHP_to_XMLRPC_worker (const char* key, zval* in_val, int dep } MAKE_STD_ZVAL(val_arr); - *val_arr = *val; - zval_copy_ctor(val_arr); - INIT_PZVAL(val_arr); + MAKE_COPY_ZVAL(&val, val_arr); convert_to_array(val_arr); vtype = determine_vector_type(Z_ARRVAL_P(val_arr)); |