plugins: use g_autoptr for GError

This commit is contained in:
Evangelos Ribeiro Tzaras
2021-03-03 00:17:49 +00:00
parent 3f197149a8
commit 7a6b702a31
5 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ operation_cb (GDBOVoiceCall *voice_call,
struct CallsCallOperationData *data)
{
gboolean ok;
GError *error = NULL;
g_autoptr (GError) error = NULL;
ok = data->finish_func (voice_call, res, &error);
if (!ok)