mmcli: fix a memory leak

Poor modem_uid got left behind.
This commit is contained in:
Lubomir Rintel
2024-07-09 14:55:30 +00:00
committed by Aleksander Morgado
parent 664d748a93
commit 509acb6474
+1
View File
@@ -1045,6 +1045,7 @@ mmcli_get_sim_sync (GDBusConnection *connection,
}
g_list_free_full (modems, g_object_unref);
g_free (modem_uid);
g_free (sim_path);
if (o_manager)