Alex Henrie : cmd: Use standard C functions for memory allocation.