diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2018-06-18 12:33:42 +0200 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2018-06-22 16:05:42 -0400 |
commit | a7f210d81cecaf3ddb89605b89dfadea8c4102e9 (patch) | |
tree | a9319cff73685b8b00ef5251856306b91c88bc62 | |
parent | 7e59dc99b8e405660729e9b312370963b4f72b47 (diff) | |
download | gdm-a7f210d81cecaf3ddb89605b89dfadea8c4102e9.tar.gz |
manager: avoid leaking session_id
get_login_window_session_id() duplicates the session id.
-rw-r--r-- | daemon/gdm-manager.c | 1 |
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 |