[gdm/gnome-2-30] Fix bug #650659 - double free issue in chooser.
- From: Brian Cameron <bcameron src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/gnome-2-30] Fix bug #650659 - double free issue in chooser.
- Date: Thu, 2 Jun 2011 14:51:14 +0000 (UTC)
commit f33b0e8ccac7aa1719af42ec268071c8dcf6a395
Author: Brian Cameron <brian cameron oracle com>
Date: Thu Jun 2 09:50:50 2011 -0500
Fix bug #650659 - double free issue in chooser.
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 d4b0a4a..3c6ec4c 100644
--- a/gui/simple-greeter/gdm-chooser-widget.c
+++ b/gui/simple-greeter/gdm-chooser-widget.c
@@ -2355,6 +2355,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]