summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/com_dotnet/com_saproxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/com_dotnet/com_saproxy.c b/ext/com_dotnet/com_saproxy.c
index 24b6fa2752..7ce57ce915 100644
--- a/ext/com_dotnet/com_saproxy.c
+++ b/ext/com_dotnet/com_saproxy.c
@@ -433,7 +433,7 @@ int php_com_saproxy_create(zend_object *com_object, zval *proxy_out, zval *index
proxy->obj = (php_com_dotnet_object*) com_object;
}
- Z_ADDREF_P(&proxy->obj->zo);
+ GC_ADDREF(&proxy->obj->zo);
proxy->indices = safe_emalloc(proxy->dimensions, sizeof(zval *), 0);
if (rel) {