[totem/gnome-3-0] totem-options: Should not free commands list data.
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/gnome-3-0] totem-options: Should not free commands list data.
- Date: Tue, 10 Jan 2012 16:09:36 +0000 (UTC)
commit 2b9a4a6445ada4d739e02645f38dba3b9b166190
Author: EstÃvÃo Samuel ProcÃpio <tevaum gmail com>
Date: Sun Dec 18 19:29:41 2011 -0200
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
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 2fb0c43..43649c3 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]