[gdm: 3/8] libgdm: Don't leak connection on sync re-authentication
- From: Marco Trevisan <marcotrevi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm: 3/8] libgdm: Don't leak connection on sync re-authentication
- Date: Mon, 4 Jun 2018 17:30:56 +0000 (UTC)
commit 1f5678c65c96d2534a687a2344fdc0655a832c47
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 36292148..335a040a 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]