On Fri, May 03, 2002 at 03:34:46PM +0300, Zeev Suraski wrote: > If ldap_first_entry() relies on the resource that is passed onto it, then > it should add a reference count to it, using zend_list_addref(). The > resource ldap_first_entry returns should be responsible for this reference, > and its destructor should call zend_list_delete(). Then, only when no > resources need the resource returned by ldap_read(), it'll be allowed to be > freed.
Thanks, I've done that now. If you (or anyone else) have the time, please review the ldap.c changes I just committed. Stig -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php