Page MenuHomePhabricator

Memory leak in ServiceRegistration
Closed, ResolvedPublic

Description

E.g. in mitkGlobalInteractionTest. I debugged this, the private implementation of mitk::ServiceRegistration is never deleted, since the ref count doesn't go down to zero. This could also me a misuse of the service framework:

http://cdash.mitk.org/viewDynamicAnalysisFile.php?id=95956

Event Timeline

[6b509e]: Merge branch 'bug-13140-serviceregistration-leak'

Merged commits:

2012-09-26 16:50:52 Sascha Zelzer [389715]
Fixed reference counting of ServiceRegistrationPrivate instances.