diff options
Diffstat (limited to 'ext/libxml/libxml.c')
| -rw-r--r-- | ext/libxml/libxml.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/ext/libxml/libxml.c b/ext/libxml/libxml.c index 7545b69f3f..148337ea4b 100644 --- a/ext/libxml/libxml.c +++ b/ext/libxml/libxml.c @@ -466,7 +466,7 @@ PHP_FUNCTION(libxml_set_streams_context)  		return;  	}  	if (LIBXML(stream_context)) { -		ZVAL_DELREF(LIBXML(stream_context)); +		zval_ptr_dtor(&LIBXML(stream_context));  		LIBXML(stream_context) = NULL;  	}  	ZVAL_ADDREF(arg); | 
