com php-src: Replaced separation with destructor: ext/com_dot net/com_com.c

From: Date: Wed, 17 Jan 2018 00:01:00 +0000
Subject: com php-src: Replaced separation with destructor: ext/com_dot net/com_com.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-100921@lists.php.net to get a copy of this message
Commit: 5d456c1c6670fff1380238175daffe83443bc445 Author: Dmitry Stogov <dmitry@zend.com> Wed, 17 Jan 2018 03:01:00 +0300 Parents: c4fa7345dcca4bd3ba6bf1d337f8a9c8caaed5f0 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=5d456c1c6670fff1380238175daffe83443bc445 Log: Replaced separation with destructor Changed paths: M ext/com_dotnet/com_com.c Diff: diff --git a/ext/com_dotnet/com_com.c b/ext/com_dotnet/com_com.c index 342b7c3..f91c5fc 100644 --- a/ext/com_dotnet/com_com.c +++ b/ext/com_dotnet/com_com.c @@ -564,7 +564,8 @@ int php_com_do_invoke_byref(php_com_dotnet_object *obj, zend_internal_function * zval *arg = &args[nargs - i - 1]; ZVAL_DEREF(arg); - SEPARATE_ZVAL_NOREF(arg); + zval_ptr_dtor(arg); + ZVAL_NULL(arg); /* if the variant is pointing at the byref_vals, we need to map * the pointee value as a zval; otherwise, the value is pointing

« previous php.cvs (#100921) next »