ext/hnswlib/hnswlibext.hpp in hnswlib-0.8.1 vs ext/hnswlib/hnswlibext.hpp in hnswlib-0.9.0
- old
+ new
@@ -526,13 +526,9 @@
}
}
free(index->linkLists_);
index->linkLists_ = nullptr;
}
- if (index->visited_list_pool_) {
- delete index->visited_list_pool_;
- index->visited_list_pool_ = nullptr;
- }
try {
index->loadIndex(filename, space);
index->allow_replace_deleted_ = allow_replace_deleted;
} catch (const std::runtime_error& e) {