From 4e390892b728a30174c5b0b53a0679f9f3a721d7 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Fri, 11 Mar 2005 01:52:24 +0000 Subject: [PATCH] - Do not touch return_valu's refcount or is_ref --- ext/standard/streamsfuncs.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ext/standard/streamsfuncs.c b/ext/standard/streamsfuncs.c index 1cd3e95ef9..c89dbbbc3b 100644 --- a/ext/standard/streamsfuncs.c +++ b/ext/standard/streamsfuncs.c @@ -933,9 +933,7 @@ PHP_FUNCTION(stream_context_get_options) RETURN_FALSE; } - *return_value = *context->options; - zval_copy_ctor(return_value); - INIT_PZVAL(return_value); + RETURN_ZVAL(context->options, 1, 0); } /* }}} */ -- 2.50.1