Task destructors are routines used to delete task descriptors and deallocate the corresponding memory resources. The Data Fitting task destructor dfdeletetask destroys a Data Fitting task and frees the memory.