diff --git a/clients/common/nm-secret-agent-simple.c b/clients/common/nm-secret-agent-simple.c index ba20d489a3..72c5057cc1 100644 --- a/clients/common/nm-secret-agent-simple.c +++ b/clients/common/nm-secret-agent-simple.c @@ -91,7 +91,7 @@ _request_data_free (gpointer data) RequestData *request = data; g_free (request->request_id); - g_object_unref (request->cancellable); + nm_clear_g_cancellable (&request->cancellable); g_object_unref (request->self); g_object_unref (request->connection); g_strfreev (request->hints);