aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/huawei/mm-modem-helpers-huawei.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/huawei/mm-modem-helpers-huawei.c b/plugins/huawei/mm-modem-helpers-huawei.c
index 07a56979..656c6de0 100644
--- a/plugins/huawei/mm-modem-helpers-huawei.c
+++ b/plugins/huawei/mm-modem-helpers-huawei.c
@@ -647,6 +647,8 @@ parse_syscfg_modes (const gchar *modes_str,
}
}
+ g_strfreev (split);
+
/* If we didn't build a valid array of combinations, return an error */
if (out->len == 0) {
g_set_error (error,
@@ -883,6 +885,8 @@ parse_mode_combination_string_list (const gchar *modes_str,
}
}
+ g_strfreev (mode_combinations);
+
/* Add here the all_combination */
if (has_all) {
MMHuaweiSyscfgexCombination combination;