Add destruction of Mesh in structs destructors (fix potential leaks)