Memory leak. wxRibbonButtonBar::DeleteButton(id) doesn't delete button object
|Reported by:||tan||Owned by:|
|Keywords:||wxRibbonButtonBar memory leak||Cc:|
It is unexpected behaviour and it leads to memory leaks.
Do it in wxRibbonButtonBar::DeleteButton(id)is consistent with the behaviour of the wxRibbonButtonBar::ClearButtons().
Patch is attached.
Change History (7)
comment:2 Changed 3 years ago by tan
- Resolution fixed deleted
- Status changed from closed to reopened