Skip to content

Fix memory leak in TRestRun::CloseFile#562

Open
cmargalejo wants to merge 1 commit intomasterfrom
cris_fix_restrun_memory_leak
Open

Fix memory leak in TRestRun::CloseFile#562
cmargalejo wants to merge 1 commit intomasterfrom
cris_fix_restrun_memory_leak

Conversation

@cmargalejo
Copy link
Copy Markdown
Member

@cmargalejo cmargalejo commented Apr 16, 2026

cmargalejo Ok: 2 Powered by Pull Request Badge

Delete fInputEvent when closing the file to prevent a memory leak. Each call to CloseFile() was leaking the input event object,causing growing memory use when opening or closing multiple files.

Fixes issue #519

Delete fInputEvent when closing the file to prevent a memory leak. Each call to CloseFile() was leaking the input event object,causing growing memory use when opening or closing multiple files.

Fixes #519
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant