[totem] totem-options: Should not free commands list data.
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] totem-options: Should not free commands list data.
- Date: Mon, 19 Dec 2011 10:32:43 +0000 (UTC)
commit 71408a90d504b666c74e81260e8761387dc64ce5
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]