msado15: Use standard C functions for memory allocation in command.c.