libmm-glib,modem-3gpp: fix leak when processing scan results
This commit is contained in:
@@ -741,6 +741,8 @@ create_networks_list (GVariant *variant)
|
|||||||
g_variant_unref (dict);
|
g_variant_unref (dict);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_variant_unref (variant);
|
||||||
|
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user