aboutsummaryrefslogtreecommitdiff
path: root/src/idoappointmentmenuitem.c
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2023-08-05 02:01:59 +0200
committerRobert Tari <robert@tari.in>2023-08-05 02:01:59 +0200
commitebb915b50119f79968a8e93697a90660eab93872 (patch)
tree1218189c1be68a33ecd94993011d759616e418fc /src/idoappointmentmenuitem.c
parent579cad6e979ba6b271a121749a78331b406f127a (diff)
downloadayatana-ido-ebb915b50119f79968a8e93697a90660eab93872.tar.gz
ayatana-ido-ebb915b50119f79968a8e93697a90660eab93872.tar.bz2
ayatana-ido-ebb915b50119f79968a8e93697a90660eab93872.zip
Fix possible memory leaks
Diffstat (limited to 'src/idoappointmentmenuitem.c')
-rw-r--r--src/idoappointmentmenuitem.c3
1 files changed, 2 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 */