From 509acb647462c5bd5c4b782076cb46a60dff9f07 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel 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