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

[TPC-QC]: Fix memory leak in ClusterVisualizer #2462

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

ariedel-cern
Copy link
Contributor

@ariedel-cern ariedel-cern commented Oct 28, 2024

Special care has to be taken when handling ClustersData objects. They contain an o2::mergers::MergeInterface object, which needs to be deleted explicitly. Wrapping the ClustersData object, which is pulled from CCDB in the ClusterVisualizer, in a unique_pointer ensures the memory is appropriately freed at the end of the update method.

Special care has to be taken when handling ClustersData objects. They
contain a o2::mergers::MergeInterface object which needs to be deleted
explicitly. Wrapping the ClustersData object which is pulled from CCDB
ensures the memory is appropiately freed at the end of update method.
@wiechula wiechula enabled auto-merge (rebase) October 28, 2024 10:08
@wiechula wiechula merged commit 7dcabcf into AliceO2Group:master Oct 28, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants