Calls the destructor of a previously malloc'd class and frees its memory
Class instance
See Implementation
Calls the destructor of a previously malloc'd class and frees its memory