Skip to content
Snippets Groups Projects

THistSvc: fix memory corruption in deReg(string)

Merged Frank Winklmeier requested to merge fwinkl/Gaudi:thistsvc_dereg into master

Deregistering a histogram via its name causes a memory corruption (often resulting in a crash). The problem was that deReg(string) kept checking the histogram list size while the list is actually being deleted in the last call to deReg(TObject*).

Also improved the unit test coverage for this case.

cc @leggett @merrenst

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading