[gdm] daemon: Clean up memory leaks
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] daemon: Clean up memory leaks
- Date: Tue, 31 Jul 2012 00:00:03 +0000 (UTC)
commit a19d6d8e1327a568588df2adfe583fcc58ab719c
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Jul 20 22:50:50 2012 -0300
daemon: Clean up memory leaks
We need to make sure we free these dup'd strings so that we
do not leak private information or memory.
https://bugzilla.gnome.org/show_bug.cgi?id=678057
daemon/gdm-session.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c
index ea56dfd..58b2e31 100644
--- a/daemon/gdm-session.c
+++ b/daemon/gdm-session.c
@@ -1823,6 +1823,8 @@ free_conversation (GdmSessionConversation *conversation)
}
g_free (conversation->service_name);
+ g_free (conversation->starting_username);
+ g_free (conversation->session_id);
g_clear_object (&conversation->session);
g_free (conversation);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]