Memory leak in ev.c
Alexander Klauer
Alexander.Klauer at itwm.fraunhofer.de
Wed Feb 20 16:42:54 CET 2013
Hi,
in ev.c, there is the definition
#define ev_free(ptr) ev_realloc ((ptr), 0)
This causes a memory leak on systems where zero-sized objects are being
kept track of. Therefore, I suggest this definition to be changed to
#define ev_free(ptr) free ((ptr))
A patch to this effect has been attached to this message.
Best regards,
Alexander
--
Dr. Alexander Klauer
Competence Centre for High Performance Computing
Fraunhofer-Institut für Techno-
und Wirtschaftsmathematik ITWM
Fraunhofer-Platz 1
67663 Kaiserslautern
Tel.: +49 631 31600-4335
Fax : +49 631 31600-5335
Email: Alexander.Klauer at itwm.fraunhofer.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libev.patch
Type: text/x-patch
Size: 361 bytes
Desc: not available
URL: <http://lists.schmorp.de/pipermail/libev/attachments/20130220/c68aa043/attachment.bin>
More information about the libev
mailing list