Page MenuHomePhabricator

Memory leak and double free in QmitkToolTrackingStatusWidget
Closed, WontfixPublic

Description

The member variable m_NavigationDatas is overwritten when SetNavigationDatas(...) gets called, even if memory was allocated before on a call to AddNavigationData(...).

Additionally the member variable is deleted in the destructor even if it was set from outside by SetNavigationDatas(...), which could result in a double free if the caller deletes the memory itself (without knowing or expecting that this is done inside the class where he just called a setter).

Event Timeline

Updating target milestone to upcoming release

This bug could not be fixed during the 2015.05 release.
Setting target_milestone to AfterNextRelease

User heime has pushed new remote branch:

bug-17808-IgtToolTrackingStatusWidget-memLeak
franza added subscribers: heime, franza.

What's the status of this bug? Can we merge the branch? Is it fixed?

kislinsk added a project: Auto-closed.
kislinsk added a subscriber: kislinsk.

Hi there! 🙂

This task was auto-closed according to our Task Lifecycle Management.
Please follow this link for more information and don't forget that you are encouraged to reasonable re-open tasks to revive them. 🚑

Best wishes,
The MITK devs