summaryrefslogtreecommitdiff
path: root/src/gclue-service-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gclue-service-manager.c')
-rw-r--r--src/gclue-service-manager.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gclue-service-manager.c b/src/gclue-service-manager.c
index 9f44a56..d6ac494 100644
--- a/src/gclue-service-manager.c
+++ b/src/gclue-service-manager.c
@@ -181,7 +181,7 @@ complete_get_client (OnClientInfoNewReadyData *data)
GClueClientInfo *info = data->client_info;
GClueAgent *agent_proxy = NULL;
g_autoptr(GError) error = NULL;
- char *path;
+ g_autofree char *path = NULL;
guint32 user_id;
/* Disconnect on_peer_vanished_before_completion, if it's there */
@@ -257,7 +257,6 @@ error_out:
out:
g_clear_object (&info);
on_client_info_new_ready_data_free (data);
- g_free (path);
return FALSE;
}