summaryrefslogtreecommitdiff
path: root/libgdm
diff options
context:
space:
mode:
Diffstat (limited to 'libgdm')
-rw-r--r--libgdm/gdm-client.c2
1 files changed, 1 insertions, 1 deletions
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;