zval.refcount != rsrc.refcount

We should probably addref the resource refcount here to avoid pain
somewhere else.

--Wez.

On Mon, 16 Jun 2003, Sara Golemon wrote:

> +             MAKE_STD_ZVAL(zcontext);
> +             php_stream_context_to_zval(context, zcontext);
> +             add_property_zval(us->object, "context", zcontext);
> +             /* The object property should be the only reference,
> +                'get rid' of our local reference. */
> +             zval_ptr_dtor(&zcontext);


-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to