[PATCH 2/3] taskschd: Use standard C functions for memory allocation in task.c.