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

@@ -314,7 +314,7 @@ get_modems_cb (GDBOManager *manager,
gboolean ok;
GVariant *modems;
GVariantIter *modems_iter = NULL;
GError *error = NULL;
g_autoptr (GError) error = NULL;
const gchar *path;
GVariant *properties;