Drop malloc.h include

malloc.h is deprecated (and including it fails to compile on some systems). stdlib.h is enough for malloc()