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-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna

Reply via email to