Page MenuHomePhabricator

Memory leak in clone methods
Closed, ResolvedPublic

Description

Objects generated by clone method have after initialization a reference count of two. This is due to an missing smartPtr->UnRegister in the mitkCloneMacro. I'll add this line to the macro.

Event Timeline

[5812a0]: Merge branch 'bug-10672-CloneMethodMemoryLeak'

Merged commits:

2012-01-13 14:22:45 Sven Mersmann [81241c]
added UnRegister to CloneMacro