diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2014-01-26 11:01:42 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2014-01-26 11:01:42 +0100 |
commit | 72d83898da16015361c2fed216fe797678fca427 (patch) | |
tree | a7f86eaf6d79465cea86221fef629967046cb467 | |
parent | 0cfc825e11ba935d84c51e2d206d3e7ee242b9fb (diff) |
huawei: fix some leaked 'GStrv' arrays
-rw-r--r-- | plugins/huawei/mm-modem-helpers-huawei.c | 4 |
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; |