Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21876 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36035 invoked by uid 1010); 15 Feb 2006 22:48:00 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 36019 invoked from network); 15 Feb 2006 22:48:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Feb 2006 22:48:00 -0000 X-Host-Fingerprint: 69.15.229.169 unknown Received: from ([69.15.229.169:26604] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 5E/C0-30512-0AFA3F34 for ; Wed, 15 Feb 2006 17:48:00 -0500 Message-ID: <5E.C0.30512.0AFA3F34@pb1.pair.com> To: internals@lists.php.net Reply-To: "l0t3k" References: <49.81.03593.F1463F34@pb1.pair.com> <1355657626.20060215225041@marcus-boerger.de> <39.C1.15151.08BA3F34@pb1.pair.com> <1236945180.20060215233605@marcus-boerger.de> Date: Wed, 15 Feb 2006 17:45:13 -0500 Lines: 31 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original X-Posted-By: 69.15.229.169 Subject: Re: [PHP-DEV] C Level Iterators and Userland Classes From: cshmoove@hotmail.com ("l0t3k") > 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