Hi,

could you revert that commit ? There was no leak before but now, there 
is usage of a deleted object...

The plane is added by itself in the objects list (lst_objects). This is 
the list which is responsible of delete the plane.

Regards,

Matt (gentildemon)


Kurosu a écrit :
> Author: kurosu
> Date: Mon Jul 30 00:14:02 2007
> New Revision: 2976
>
> URL: http://svn.gna.org/viewcvs/wormux?rev=2976&view=rev
> Log:
> Plane::Shoot seems to be leaking the Plane object it creates.
>
> Modified:
>     trunk/src/weapon/air_attack.cpp
>
>
> _______________________________________________
> Wormux-cvs mailing list
> [EMAIL PROTECTED]
> https://mail.gna.org/listinfo/wormux-cvs
>
>
>   


_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev

Répondre à