aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-10-22 15:35:22 -0400
committerLars Uebernickel <lars.uebernickel@canonical.com>2013-10-22 15:35:22 -0400
commitbccb3fbe7afc9842c0296d662d083285fdbe9706 (patch)
tree0d703d8f02328410970d45e5bb8a2901f6dda85d
parent180ab330e6f1d5d1a80361f531754001d3cb584f (diff)
downloadayatana-ido-bccb3fbe7afc9842c0296d662d083285fdbe9706.tar.gz
ayatana-ido-bccb3fbe7afc9842c0296d662d083285fdbe9706.tar.bz2
ayatana-ido-bccb3fbe7afc9842c0296d662d083285fdbe9706.zip
Unref serialized_icon
-rw-r--r--src/idoswitchmenuitem.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/idoswitchmenuitem.c b/src/idoswitchmenuitem.c
index cfbd542..d47392f 100644
--- a/src/idoswitchmenuitem.c
+++ b/src/idoswitchmenuitem.c
@@ -248,6 +248,8 @@ ido_switch_menu_item_new_from_menu_model (GMenuItem *menuitem,
ido_switch_menu_item_set_icon (IDO_SWITCH_MENU_ITEM (item), icon);
g_object_unref (icon);
}
+
+ g_variant_unref (serialized_icon);
}
if (g_menu_item_get_attribute (menuitem, "action", "s", &action))