[ 1721029 ] [GTK] memory leak in wxMenu

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2007-05-22 07:49:59 +00:00
parent 4a08026583
commit c5b9bd2560

View File

@@ -1030,6 +1030,7 @@ wxMenu::~wxMenu()
{
// see wxMenu::Init
gtk_widget_unref( m_menu );
g_object_unref( m_accel );
// if the menu is inserted in another menu at this time, there was
// one more reference to it:
if ( m_owner )