mm-provider: Don't leak error

This commit is contained in:
Evangelos Ribeiro Tzaras
2022-09-02 12:08:45 +02:00
parent b543d61f3b
commit e7c3775f42

View File

@@ -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) {