From e7c3775f425aa2392bc9496fc5f4c6f9c3603532 Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Fri, 2 Sep 2022 12:08:45 +0200 Subject: [PATCH] mm-provider: Don't leak error --- plugins/provider/mm/calls-mm-provider.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/provider/mm/calls-mm-provider.c b/plugins/provider/mm/calls-mm-provider.c index 4424958..11462e4 100644 --- a/plugins/provider/mm/calls-mm-provider.c +++ b/plugins/provider/mm/calls-mm-provider.c @@ -274,7 +274,7 @@ mm_manager_new_cb (GDBusConnection *connection, GAsyncResult *res, CallsMMProvider *self) { - GError *error = NULL; + g_autoptr (GError) error = NULL; self->mm = mm_manager_new_finish (res, &error); if (!self->mm) {