Skip to content

Commit 4ee4f0a

Browse files
committed
[BALL] Fix another head-use-after-free error in ReducedSurface
Accidentally introduced with the previous patch.
1 parent f4787da commit 4ee4f0a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/STRUCTURE/reducedSurface.C

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,7 @@ namespace BALL
976976
}
977977
rs_->vertices_[vertex->index_] = NULL;
978978
vertices_[atom].remove(vertex);
979-
rm_vertices_.erase(vertex);
979+
rm_vertices_.insert(vertex);
980980
delete vertex;
981981
}
982982
rs_->atom_[atom].radius -= 10*Constants::EPSILON;

0 commit comments

Comments
 (0)