Re: [PHP-DEV] Patch for bug #49936

2009-11-15 Thread Felipe Pena
Hi Pierrick, 2009/11/13 Pierrick Charron > Hi, > > I created a patch for the bug #49936. > > The problem was due to the new way to manage references of stream context. > The patch increase the refcount of the context when it's assigned to a > stream (in the method php_stream_context_set). > A ze

[PHP-DEV] Patch for bug #49936

2009-11-13 Thread Pierrick Charron
Hi, I created a patch for the bug #49936. The problem was due to the new way to manage references of stream context. The patch increase the refcount of the context when it's assigned to a stream (in the method php_stream_context_set). A zend_list_delete is already called on the context when the s