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