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

Fix comms memory leak #436

Merged
merged 2 commits into from
Jan 3, 2022
Merged
Changes from 1 commit
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
Next Next commit
add virtual destructor to prpoerly invoke destructors of std_comms & …
…mpi_comms
  • Loading branch information
seunghwak committed Dec 22, 2021
commit 6bf4a5fae1f737271deb7de6e10089c6c88fe964
2 changes: 2 additions & 0 deletions cpp/include/raft/comms/comms.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ constexpr datatype_t get_type<double>()

class comms_iface {
public:
virtual ~comms_iface() {}

virtual int get_size() const = 0;
virtual int get_rank() const = 0;

Expand Down