huawei: fix some leaked 'GStrv' arrays

This commit is contained in:
Aleksander Morgado
2014-01-26 11:01:42 +01:00
parent 0cfc825e11
commit 72d83898da
+4
View File
@@ -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;