Re: C Level Iterators and Userland Classes

From: Date: Wed, 15 Feb 2006 22:45:13 +0000
Subject: Re: C Level Iterators and Userland Classes
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-21876@lists.php.net to get a copy of this message
> ic, sounds interesting. Actually Andrei doesn't it look like something for > ext/unicode? that's what it's for, actually... >>> The second thing is that you did not use the dtor() handler so you have >>> a memory leak. >> which dtor handler ? > > Zend/zend_iterators.h: > typedef struct _zend_object_iterator_funcs { > /* release all resources associated with this iterator instance */ > void (*dtor)(zend_object_iterator *iter TSRMLS_DC); > > ^^^that one :-) Solid ! Thanks again.. clayton > > > > > > Best regards, > Marcus

« previous php.internals (#21876) next »