diff options
author | Jaehyun Kim <jeik01.kim@samsung.com> | 2021-09-08 21:44:57 +0900 |
---|---|---|
committer | Jaehyun Kim <jeik01.kim@samsung.com> | 2021-09-08 21:44:57 +0900 |
commit | 90bbc90465bb6c4b5a3d3dca0cca667d20d676b4 (patch) | |
tree | 4a6f1a8622ff9398278de9aecd1869c5d71121d7 | |
parent | 3be4b5a0f3d6b975583bdbd041c89cfc73d1f9cf (diff) | |
download | connman-90bbc90465bb6c4b5a3d3dca0cca667d20d676b4.tar.gz connman-90bbc90465bb6c4b5a3d3dca0cca667d20d676b4.tar.bz2 connman-90bbc90465bb6c4b5a3d3dca0cca667d20d676b4.zip |
Fix resource leaksubmit/tizen/20210909.045500submit/tizen/20210908.150016accepted/tizen/unified/20210915.025055
Change-Id: Ic3c9199d0dac7e614743043cdeb5ad1616eb1aa1
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
-rwxr-xr-x | src/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -766,6 +766,8 @@ static void parse_config(GKeyFile *config) connman_settings.auto_connect = parse_service_types(default_auto_connect, CONF_ARRAY_SIZE(default_auto_connect)); + g_strfreev(str_list); + g_clear_error(&error); str_list = __connman_config_get_string_list(config, "General", |