Re: cvs: php4 / NEWS /main/streams userspace.c

From: Date: Mon, 16 Jun 2003 20:45:32 +0000
Subject: Re: cvs: php4 / NEWS /main/streams userspace.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-21813@lists.php.net to get a copy of this message
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);

« previous php.cvs (#21813) next »