The mesh was tagged as changed after it has been freed. It's freed in the call to `mesh_remove_doubles_on_axis`.