[gdm/gnome-3-0] greeter: Fix double free on timed login (cherry picked from commit b83273f28cbecb7101020eaa9d06445d7
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/gnome-3-0] greeter: Fix double free on timed login (cherry picked from commit b83273f28cbecb7101020eaa9d06445d7
- Date: Mon, 23 May 2011 19:54:26 +0000 (UTC)
commit 5b8833aa923b9f4c4bcc615c5d5ad10dba7ae01d
Author: Jürg Billeter <j bitron ch>
Date: Fri May 20 13:40:36 2011 +0200
greeter: Fix double free on timed login
(cherry picked from commit b83273f28cbecb7101020eaa9d06445d7267df1d)
gui/simple-greeter/gdm-chooser-widget.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gui/simple-greeter/gdm-chooser-widget.c b/gui/simple-greeter/gdm-chooser-widget.c
index e81bd77..ca27fc1 100644
--- a/gui/simple-greeter/gdm-chooser-widget.c
+++ b/gui/simple-greeter/gdm-chooser-widget.c
@@ -2462,6 +2462,7 @@ gdm_chooser_widget_lookup_item (GdmChooserWidget *widget,
if (active_item_id == NULL || strcmp (active_item_id, id) != 0) {
g_free (active_item_id);
+ active_item_id = NULL;
if (!find_item (widget, id, &iter)) {
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]