oznog : wormux mailing list is wormux-***DEV*** ([EMAIL PROTECTED]) and not 
wormux-cvs !!!

Haypo

----------  Message transmis  ----------

Subject: [Wormux-gna] new delete fix
Date: Vendredi 12 Mai 2006 23:29
From: oznog <[EMAIL PROTECTED]>
To: [email protected]

This is a new patch about memleak
in fact the previous on I gave was (really really) buggy.
This one should be better : in fact the real pb was that the widgets
list was not freed correctly. The call to clear was done but whereas
the list was a pointer list, objet pointed were never freed.
So Now eache element is freed before the list itselt is cleared.

I also removed the pointer to last element because it is useless
whereas list.back() gives it (and is also auto maintained by le list
itself)

I hope this wont make it worst

Patch was generated with revision 734



--
QFDQF

-------------------------------------------------------

Attachment: delete_fix
Description: Binary data

_______________________________________________
Wormux-dev mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-dev

Répondre à