[ENet-discuss] Re: [enet-cvs] memory leak!

Lee Salzman lsalzman1 at cox.net
Mon Jul 18 23:00:36 PDT 2005


This has been fixed.

Li, Wu (Wu) wrote:
> hi:
> i found enet library has memory leak problem when receive fragged udp
> packet.  This can cause application to crash fast when huge peer sending
> huge large udp packets.
>  when udp client disconnedted, the server should free ALL memory occupied by
> this peer, such as ENetIncomingCommand list, ENetOutgoingCommand list,
> etc... 
> but enet forget freeing the "ENetIncomingCommand:fragments" member
> variable(peer.c:292, only incomingCommand->packet is freed).
> 
> Regards,
> Li Wu
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> enet-cvs mailing list
> enet-cvs at cubik.org
> http://lists.cubik.org/mailman/listinfo/enet-cvs



More information about the ENet-discuss mailing list