aboutsummaryrefslogtreecommitdiff
path: root/libqmenumodel
diff options
context:
space:
mode:
authorPete Woods <pete.woods@canonical.com>2013-09-17 13:32:59 +0100
committerPete Woods <pete.woods@canonical.com>2013-09-17 13:32:59 +0100
commit9b9504fa3baaac8a1cc0a3422f9ccdf3c93f9ce8 (patch)
tree7e0b6c94d074935f9b62bc75ec5e3ee7f0c992e3 /libqmenumodel
parent81648d324bb49435572f6b211c0d62faa43f4a67 (diff)
downloadqmenumodel-9b9504fa3baaac8a1cc0a3422f9ccdf3c93f9ce8.tar.gz
qmenumodel-9b9504fa3baaac8a1cc0a3422f9ccdf3c93f9ce8.tar.bz2
qmenumodel-9b9504fa3baaac8a1cc0a3422f9ccdf3c93f9ce8.zip
Fix sequence memory leak in unitymenumodel
Diffstat (limited to 'libqmenumodel')
-rw-r--r--libqmenumodel/src/unitymenumodel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libqmenumodel/src/unitymenumodel.cpp b/libqmenumodel/src/unitymenumodel.cpp
index a0ab4ff..39336ec 100644
--- a/libqmenumodel/src/unitymenumodel.cpp
+++ b/libqmenumodel/src/unitymenumodel.cpp
@@ -136,6 +136,7 @@ UnityMenuModelPrivate::~UnityMenuModelPrivate()
{
this->clearItems(false);
+ g_sequence_free(this->items);
g_clear_pointer (&this->menutracker, gtk_menu_tracker_free);
g_clear_object (&this->muxer);
g_clear_object (&this->connection);