[enet-cvs] memory leak!
Li, Wu (Wu)
wuli at lucent.com
Mon Jul 18 20:08:56 PDT 2005
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
More information about the enet-cvs
mailing list