diff options
author | Estêvão Samuel Procópio <tevaum@gmail.com> | 2011-12-18 19:29:41 -0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2012-01-10 16:09:29 +0000 |
commit | 2b9a4a6445ada4d739e02645f38dba3b9b166190 (patch) | |
tree | 580f060433f2002e847bf34a76a2bc8ec5b2c006 | |
parent | 23acaaf28e92746c8c9851773c9354872f46b538 (diff) | |
download | totem-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.c | 1 |
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); } |