[PATCH 1/1] cmd: Use standard C functions for memory allocation.