[gdm/rhel-7.9: 35/51] libgdm: Don't leak connection on sync re-authentication
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/rhel-7.9: 35/51] libgdm: Don't leak connection on sync re-authentication
- Date: Mon, 12 Apr 2021 20:58:10 +0000 (UTC)
commit 5703819c79df698fe9d6b4dfba0447a504988efb
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date: Fri Jun 1 17:20:17 2018 +0200
libgdm: Don't leak connection on sync re-authentication
libgdm/gdm-client.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgdm/gdm-client.c b/libgdm/gdm-client.c
index 36292148c..335a040a2 100644
--- a/libgdm/gdm-client.c
+++ b/libgdm/gdm-client.c
@@ -604,7 +604,7 @@ gdm_client_open_reauthentication_channel_sync (GdmClient *client,
GCancellable *cancellable,
GError **error)
{
- GDBusConnection *connection;
+ g_autoptr(GDBusConnection) connection = NULL;
g_autoptr(GdmManager) manager = NULL;
GdmUserVerifier *user_verifier = NULL;
gboolean ret;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]