aboutsummaryrefslogtreecommitdiff
path: root/src/idousermenuitem.c
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-08-07 08:38:02 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-08-07 08:38:02 +0200
commitb1998c6ab583d5129ef0e10eb9b6c99ff0b89631 (patch)
tree89f3201214321fbc0384562f70164f2f057d0711 /src/idousermenuitem.c
parent09c5052d290d76faadc997a6aefe49a398959463 (diff)
parente487b162ba82a1a454657a8ab5dbd6d04a17b591 (diff)
downloadayatana-ido-b1998c6ab583d5129ef0e10eb9b6c99ff0b89631.tar.gz
ayatana-ido-b1998c6ab583d5129ef0e10eb9b6c99ff0b89631.tar.bz2
ayatana-ido-b1998c6ab583d5129ef0e10eb9b6c99ff0b89631.zip
Merge branch 'tari01-pr/no-hardcoded-icon-sizes'
Attributes GH PR #66: https://github.com/AyatanaIndicators/ayatana-ido/pull/66
Diffstat (limited to 'src/idousermenuitem.c')
-rw-r--r--src/idousermenuitem.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/idousermenuitem.c b/src/idousermenuitem.c
index 1f157ae..4279723 100644
--- a/src/idousermenuitem.c
+++ b/src/idousermenuitem.c
@@ -1,10 +1,12 @@
/*
Copyright 2011 Canonical Ltd.
+Copyright 2023 Robert Tari
Authors:
Conor Curran <conor.curran@canonical.com>
Mirco Müller <mirco.mueller@canonical.com>
Charles Kerr <charles.kerr@canonical.com>
+ Robert Tari <robert@tari.in>
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License version 3, as published
@@ -445,6 +447,8 @@ user_menu_item_new_from_model (GMenuItem * menuitem,
for (i=0; i<n; i++)
g_value_unset (&values[i]);
+ g_free (values);
+
/* gie it an ActionHelper */
if (g_menu_item_get_attribute (menuitem, G_MENU_ATTRIBUTE_ACTION, "s", &action))