You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
633 B
26 lines
633 B
From 509acb647462c5bd5c4b782076cb46a60dff9f07 Mon Sep 17 00:00:00 2001
|
|
From: Lubomir Rintel <lkundrak@v3.sk>
|
|
Date: Sun, 7 Jul 2024 22:48:51 +0200
|
|
Subject: [PATCH] mmcli: fix a memory leak
|
|
|
|
Poor modem_uid got left behind.
|
|
---
|
|
cli/mmcli-common.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/cli/mmcli-common.c b/cli/mmcli-common.c
|
|
index 404749321..11a7af9c4 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)
|
|
--
|
|
2.45.2
|
|
|