summaryrefslogtreecommitdiff
path: root/ext/libxml/libxml.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/libxml/libxml.c')
-rw-r--r--ext/libxml/libxml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/libxml/libxml.c b/ext/libxml/libxml.c
index d572ae4e73..b81b65bea1 100644
--- a/ext/libxml/libxml.c
+++ b/ext/libxml/libxml.c
@@ -710,7 +710,7 @@ static PHP_FUNCTION(libxml_set_streams_context)
zval_ptr_dtor(&LIBXML(stream_context));
LIBXML(stream_context) = NULL;
}
- ZVAL_ADDREF(arg);
+ Z_ADDREF_P(arg);
LIBXML(stream_context) = arg;
}
/* }}} */