Hi,

    since there obviously was never a talk on this list about and
    out of curiosity, how can the leak be reproduced?

    - Markus

On Wed, Jun 05, 2002 at 11:55:28AM +0200, Stefan Esser wrote : 
> herewith i send my patch for the memory leak within ZendEngine(1/2).
> This was discussed with Zeev and Andi before but noone fixed it.
> So please apply the patch now, or give me the karma and I do it
> myself...
> 
> Stefan

> --- zend_llist.c.orig Wed Jun  5 13:58:41 2002
> +++ zend_llist.c      Wed Jun  5 13:58:22 2002
> @@ -139,6 +139,9 @@
>               data = old_tail->data;
>  
>               l->tail = l->tail->prev;
> +             if (l->dtor) {
> +                     l->dtor(data);
> +             }
>               pefree(old_tail, l->persistent);
>  
>               --l->count;

> --- zend_llist.c.orig Sun Jan  6 16:21:36 2002
> +++ zend_llist.c      Wed Jun  5 13:55:50 2002
> @@ -140,6 +140,9 @@
>               data = old_tail->data;
>  
>               l->tail = l->tail->prev;
> +             if (l->dtor) {
> +                     l->dtor(data);
> +             }
>               pefree(old_tail, l->persistent);
>  
>               --l->count;
> 

-- 
GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to