aboutsummaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2024-07-07 22:48:51 +0200
committerAleksander Morgado <aleksander@aleksander.es>2024-07-09 14:55:30 +0000
commit509acb647462c5bd5c4b782076cb46a60dff9f07 (patch)
treee43b82884cf4ecbaab240199ebb65fc830a43f9e /cli
parent664d748a934bbb7ff295b4cf0dd3557b316d9c35 (diff)
mmcli: fix a memory leak
Poor modem_uid got left behind.
Diffstat (limited to 'cli')
-rw-r--r--cli/mmcli-common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/mmcli-common.c b/cli/mmcli-common.c
index 40474932..11a7af9c 100644
--- a/cli/mmcli-common.c
+++ b/cli/mmcli-common.c
@@ -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)