Open sduensin opened 3 years ago
When trying to use enet with various memory leak tools, they break enet when redefining 'malloc' and 'free'. Replacing the definitions in ENetCallBacks with 'emalloc' and 'efree' (and related locations in the code) fixes it.
(Specifically, MemWatch: http://www.linkdata.se/sourcecode/memwatch/ )
When trying to use enet with various memory leak tools, they break enet when redefining 'malloc' and 'free'. Replacing the definitions in ENetCallBacks with 'emalloc' and 'efree' (and related locations in the code) fixes it.
(Specifically, MemWatch: http://www.linkdata.se/sourcecode/memwatch/ )