Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hot fix definite memory leaks #440

Merged
merged 1 commit into from
Aug 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/abstract_data_store.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ template <typename data_t> class AbstractDataStore
public:
AbstractDataStore(const location_t capacity, const size_t dim);

// virtual ~AbstractDataStore() = default;
virtual ~AbstractDataStore() = default;

// Return number of points returned
virtual location_t load(const std::string &filename) = 0;
Expand Down
2 changes: 2 additions & 0 deletions include/abstract_graph_store.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ class AbstractGraphStore
{
}

virtual ~AbstractGraphStore() = default;

// returns tuple of <nodes_read, start, num_frozen_points>
virtual std::tuple<uint32_t, uint32_t, size_t> load(const std::string &index_path_prefix,
const size_t num_points) = 0;
Expand Down
Loading