plugins: fix memory leaks with respect to items in GListStore

This was probably missed by accident in eda460ac where oFono's origin
did get the g_autoptr treatment.
This commit is contained in:
Evangelos Ribeiro Tzaras
2021-03-23 09:48:21 +01:00
parent 5e42a2c053
commit b60680f645
2 changed files with 4 additions and 2 deletions

View File

@@ -122,7 +122,7 @@ add_origin (CallsMMProvider *self,
GDBusObject *object)
{
MMObject *mm_obj;
CallsMMOrigin *origin;
g_autoptr (CallsMMOrigin) origin = NULL;
const gchar *path;
mm_obj = MM_OBJECT (object);