plugins: use g_autoptr for GError

This commit is contained in:
Evangelos Ribeiro Tzaras
2021-02-24 09:26:47 +01:00
parent 3f197149a8
commit 7a6b702a31
5 changed files with 11 additions and 11 deletions

View File

@@ -212,7 +212,7 @@ operation_cb (MMCall *mm_call,
struct CallsMMOperationData *data)
{
gboolean ok;
GError *error = NULL;
g_autoptr (GError) error = NULL;
ok = data->finish_func (mm_call, res, &error);
if (!ok)