summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEstêvão Samuel Procópio <tevaum@gmail.com>2011-12-18 19:29:41 -0200
committerBastien Nocera <hadess@hadess.net>2012-01-10 16:09:29 +0000
commit2b9a4a6445ada4d739e02645f38dba3b9b166190 (patch)
tree580f060433f2002e847bf34a76a2bc8ec5b2c006
parent23acaaf28e92746c8c9851773c9354872f46b538 (diff)
downloadtotem-2b9a4a6445ada4d739e02645f38dba3b9b166190.tar.gz
totem-options: Should not free commands list data.
In totem_options_process_for_server the commands GList holds integers and freeing those integers leads to a segfault. Only the GList needs to be freed. Closes: bgo#666431
-rw-r--r--src/totem-options.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/totem-options.c b/src/totem-options.c
index 2fb0c4307..43649c3b2 100644
--- a/src/totem-options.c
+++ b/src/totem-options.c
@@ -211,7 +211,6 @@ totem_options_process_for_server (Totem *totem,
totem_action_remote (totem, GPOINTER_TO_INT (l->data), NULL);
}
- g_list_foreach (commands, (GFunc) g_free, NULL);
g_list_free (commands);
}