mirror of
https://github.com/audacity/wxWidgets.git
synced 2025-12-10 21:09:32 -06:00
Fix memory leak of wxClientData when wxChoice is deleted
This commit is contained in:
parent
6a75c8f484
commit
591da5dcc4
@ -98,6 +98,7 @@ bool wxChoice::Create( wxWindow *parent, wxWindowID id,
|
||||
|
||||
wxChoice::~wxChoice()
|
||||
{
|
||||
Clear();
|
||||
delete m_strings;
|
||||
|
||||
#ifdef __WXGTK3__
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user