aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/idoappointmentmenuitem.c3
-rw-r--r--src/idolocationmenuitem.c3
-rw-r--r--src/idousermenuitem.c4
3 files changed, 9 insertions, 1 deletions
diff --git a/src/idoappointmentmenuitem.c b/src/idoappointmentmenuitem.c
index 0219c2c..dcdc3a8 100644
--- a/src/idoappointmentmenuitem.c
+++ b/src/idoappointmentmenuitem.c
@@ -1,6 +1,6 @@
/*
* Copyright 2013 Canonical Ltd.
- * Copyright 2021 Robert Tari
+ * Copyright 2021-2023 Robert Tari
*
* Authors:
* Charles Kerr <charles.kerr@canonical.com>
@@ -136,6 +136,7 @@ ido_appointment_menu_item_new_from_model (GMenuItem * menu_item,
for (i=0; i<n; i++)
g_value_unset (&values[i]);
+ g_free (values);
/* add an ActionHelper */
diff --git a/src/idolocationmenuitem.c b/src/idolocationmenuitem.c
index 6999cc1..2748e54 100644
--- a/src/idolocationmenuitem.c
+++ b/src/idolocationmenuitem.c
@@ -1,8 +1,10 @@
/*
* Copyright 2013 Canonical Ltd.
+ * Copyright 2023 Robert Tari
*
* Authors:
* 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
@@ -337,6 +339,7 @@ ido_location_menu_item_new_from_model (GMenuItem * menu_item,
for (i=0; i<n; i++)
g_value_unset (&values[i]);
+ g_free (values);
/* give it an ActionHelper */
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))