Skip to content

Commit a1608b4

Browse files
committed
Fix type confusion
1 parent 9d93666 commit a1608b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/com_dotnet/com_saproxy.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ int php_com_saproxy_create(zend_object *com_object, zval *proxy_out, zval *index
433433
proxy->obj = (php_com_dotnet_object*) com_object;
434434
}
435435

436-
Z_ADDREF_P(&proxy->obj->zo);
436+
GC_ADDREF(&proxy->obj->zo);
437437
proxy->indices = safe_emalloc(proxy->dimensions, sizeof(zval *), 0);
438438

439439
if (rel) {

0 commit comments

Comments
 (0)