Add AllocateMemory directory in android/ path.

no need to use (int *) for malloc here