mirror of
https://github.com/php/php-src.git
synced 2024-12-05 07:46:06 +08:00
Fixed possible crash
This commit is contained in:
parent
7438337fdd
commit
2a63e78eed
@ -2494,7 +2494,7 @@ static void clear_soap_fault(zval *obj TSRMLS_DC)
|
||||
zval* add_soap_fault(zval *obj, char *fault_code, char *fault_string, char *fault_actor, zval *fault_detail TSRMLS_DC)
|
||||
{
|
||||
zval *fault;
|
||||
MAKE_STD_ZVAL(fault);
|
||||
ALLOC_INIT_ZVAL(fault);
|
||||
set_soap_fault(fault, fault_code, fault_string, fault_actor, fault_detail, NULL TSRMLS_CC);
|
||||
#ifdef ZEND_ENGINE_2
|
||||
fault->refcount--; /*FIXME*/
|
||||
|
Loading…
Reference in New Issue
Block a user