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