diff --git a/fastlib/u/nvasil/tree/node_unit.cc b/fastlib/u/nvasil/tree/node_unit.cc index cac6f6409f..f17695aa47 100644 --- a/fastlib/u/nvasil/tree/node_unit.cc +++ b/fastlib/u/nvasil/tree/node_unit.cc @@ -79,6 +79,8 @@ class NodeTest { } void Destruct() { hyper_rectangle_.Destruct(); + Allocator_t::allocator_->Destruct(); + unlink("temp_mem"); delete Allocator_t::allocator_; dataset_.Destruct(); unlink(data_file_.c_str());