[Openais] malloc() vs mempool_malloc()

Hans Feldt Hans.Feldt at ericsson.com
Wed Apr 26 04:11:58 PDT 2006


It seems like mempool_malloc() has been abandoned:

$:exec > grep mempool_malloc *.c | wc -l
13

$:exec > grep malloc *.c | grep -v mempool_malloc | wc -l
100

It would be good to have it stated that we should use malloc() and some 
guide how the error handling is to be done.

Tools like valgrind probably works better if malloc() is used.

Regards,
Hans



More information about the Openais mailing list