1
From 2b9a4a6445ada4d739e02645f38dba3b9b166190 Mon Sep 17 00:00:00 2001
2
From: Estêvão Samuel Procópio <tevaum@gmail.com>
3
Date: Sun, 18 Dec 2011 21:29:41 +0000
4
Subject: totem-options: Should not free commands list data.
6
In totem_options_process_for_server the commands GList holds
7
integers and freeing those integers leads to a segfault.
8
Only the GList needs to be freed.
12
diff --git a/src/totem-options.c b/src/totem-options.c
13
index 2fb0c43..43649c3 100644
14
--- a/src/totem-options.c
15
+++ b/src/totem-options.c
16
@@ -211,7 +211,6 @@ totem_options_process_for_server (Totem *totem,
17
totem_action_remote (totem, GPOINTER_TO_INT (l->data), NULL);
20
- g_list_foreach (commands, (GFunc) g_free, NULL);
21
g_list_free (commands);