diff options
| -rw-r--r-- | ext/com_dotnet/com_handlers.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/com_dotnet/com_handlers.c b/ext/com_dotnet/com_handlers.c index f9f29e04d5..d4211b4dc1 100644 --- a/ext/com_dotnet/com_handlers.c +++ b/ext/com_dotnet/com_handlers.c @@ -37,6 +37,8 @@ static zval *com_property_read(zval *object, zval *member, zend_bool silent TSRM MAKE_STD_ZVAL(return_value); ZVAL_NULL(return_value); + return_value->refcount = 0; + return_value->is_ref = 0; obj = CDNO_FETCH(object); @@ -110,6 +112,8 @@ static zval *com_read_dimension(zval *object, zval *offset TSRMLS_DC) MAKE_STD_ZVAL(return_value); ZVAL_NULL(return_value); + return_value->refcount = 0; + return_value->is_ref = 0; obj = CDNO_FETCH(object); |
