huawei: fix some leaked 'GStrv' arrays
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user