diff options
author | Javier <dev.git@javispedro.com> | 2014-02-09 01:31:36 +0100 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2014-02-09 01:31:36 +0100 |
commit | 25f69bffe60bdd9c3dbba46967d30eb73b4f03b3 (patch) | |
tree | bad993d1db2b1249f9acc6af6aea437528422628 /module/appmenu.cc | |
parent | 982ebc96f2c77c1f9dbddd6a4c0a776c74b425de (diff) | |
download | topmenu-qt-25f69bffe60bdd9c3dbba46967d30eb73b4f03b3.tar.gz topmenu-qt-25f69bffe60bdd9c3dbba46967d30eb73b4f03b3.zip |
fix some leaks and avoid exporting secondary menubars
Diffstat (limited to 'module/appmenu.cc')
-rw-r--r-- | module/appmenu.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/module/appmenu.cc b/module/appmenu.cc index 4902533..63407ec 100644 --- a/module/appmenu.cc +++ b/module/appmenu.cc @@ -15,6 +15,7 @@ AppMenu::~AppMenu() { if (m_menu) { gtk_widget_destroy(GTK_WIDGET(m_menu)); + g_object_unref(m_menu); } } |