diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2024-07-07 22:48:51 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2024-07-09 14:55:30 +0000 |
commit | 509acb647462c5bd5c4b782076cb46a60dff9f07 (patch) | |
tree | e43b82884cf4ecbaab240199ebb65fc830a43f9e /cli/mmcli-common.c | |
parent | 664d748a934bbb7ff295b4cf0dd3557b316d9c35 (diff) |
mmcli: fix a memory leak
Poor modem_uid got left behind.
Diffstat (limited to 'cli/mmcli-common.c')
-rw-r--r-- | cli/mmcli-common.c | 1 |
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) |