Skip to content

Conversation

guitargeek
Copy link
Contributor

Fix a memory leak of the TSystem::ConcatFileName() return value in RooWorkspace, and also refactor the code to avoid repetition.

Thanks a lot to @ferdymercury for noticing this!
#18726 (comment)

Fix a memory leak of the `TSystem::ConcatFileName()` return value in
RooWorkspace, and also refactor the code to avoid repetition.

Thanks a lot to @ferdymercury for noticing this!
@guitargeek guitargeek force-pushed the workspace_memleak branch from bc4454c to b4b9226 Compare May 15, 2025 07:00
Copy link
Collaborator

@ferdymercury ferdymercury left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the swift fix!

Copy link

github-actions bot commented May 15, 2025

Test Results

    19 files      19 suites   3d 10h 49m 20s ⏱️
 2 745 tests  2 745 ✅ 0 💤 0 ❌
50 715 runs  50 715 ✅ 0 💤 0 ❌

Results for commit b4b9226.

♻️ This comment has been updated with latest results.

@guitargeek guitargeek closed this May 15, 2025
@guitargeek guitargeek reopened this May 15, 2025
@guitargeek guitargeek merged commit 0fe2f1f into root-project:master May 16, 2025
46 of 65 checks passed
@guitargeek guitargeek deleted the workspace_memleak branch May 16, 2025 16:43
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants