summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2018-06-18 12:33:42 +0200
committerRay Strode <rstrode@redhat.com>2018-06-22 16:05:42 -0400
commita7f210d81cecaf3ddb89605b89dfadea8c4102e9 (patch)
treea9319cff73685b8b00ef5251856306b91c88bc62
parent7e59dc99b8e405660729e9b312370963b4f72b47 (diff)
downloadgdm-a7f210d81cecaf3ddb89605b89dfadea8c4102e9.tar.gz
manager: avoid leaking session_id
get_login_window_session_id() duplicates the session id.
-rw-r--r--daemon/gdm-manager.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/gdm-manager.c b/daemon/gdm-manager.c
index 7539acf1..b4f01922 100644
--- a/daemon/gdm-manager.c
+++ b/daemon/gdm-manager.c
@@ -1414,6 +1414,7 @@ activate_login_window_session_on_seat (GdmManager *self,
}
activate_session_id (self, seat_id, session_id);
+ g_free (session_id);
}
static void