[gdm/wip/wayland-at-login-screen: 63/70] session: plug memory leak
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/wip/wayland-at-login-screen: 63/70] session: plug memory leak
- Date: Wed, 18 Feb 2015 06:28:47 +0000 (UTC)
commit 965ccac067a78ced893c3935b1d42a0378e16728
Author: Ray Strode <rstrode redhat com>
Date: Tue Feb 17 21:41:00 2015 -0500
session: plug memory leak
gdm_session_get_session_id erroneously strdup's it's return value.
daemon/gdm-session.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c
index 477ccb2..23501fb 100644
--- a/daemon/gdm-session.c
+++ b/daemon/gdm-session.c
@@ -2815,7 +2815,7 @@ gdm_session_get_session_id (GdmSession *self)
return NULL;
}
- return g_strdup (conversation->session_id);
+ return conversation->session_id;
}
static char *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]