aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2023-08-05 01:34:51 +0200
committerRobert Tari <robert@tari.in>2023-08-05 01:34:51 +0200
commit579cad6e979ba6b271a121749a78331b406f127a (patch)
tree18bdf3185a4315b099c42e9446eda65a805caa5f
parentc2bade07c6a825cd86627dc3eee4d8f9a1b39ac7 (diff)
downloadayatana-ido-579cad6e979ba6b271a121749a78331b406f127a.tar.gz
ayatana-ido-579cad6e979ba6b271a121749a78331b406f127a.tar.bz2
ayatana-ido-579cad6e979ba6b271a121749a78331b406f127a.zip
src/idoalarmmenuitem.c: Do not free non memory-allocated variable
-rw-r--r--src/idoalarmmenuitem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/idoalarmmenuitem.c b/src/idoalarmmenuitem.c
index 7b70e6d..1547809 100644
--- a/src/idoalarmmenuitem.c
+++ b/src/idoalarmmenuitem.c
@@ -1,9 +1,11 @@
/*
* Copyright 2013 Canonical Ltd.
+ * Copyright 2021-2023 Robert Tari
*
* Authors:
* Charles Kerr <charles.kerr@canonical.com>
* Ted Gould <ted@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
@@ -91,8 +93,6 @@ ido_alarm_menu_item_new_from_model (GMenuItem * menu_item,
for (i=0; i<n; i++)
g_value_unset (&values[i]);
- g_free(names);
-
/* add an ActionHelper */
if (g_menu_item_get_attribute (menu_item, "action", "s", &str))