Alex Henrie : taskschd: Use standard C functions for memory allocation in regtask.c.