NEW_GEN: Add freeStructTYPE functions that can recursively free all the memory of a struct.