[PATCH v2 1/4] taskschd: Use standard C functions for memory allocation in folder_collection.c.