diff options
author | Wootak Jung <wootak.jung@samsung.com> | 2022-09-19 16:28:33 +0900 |
---|---|---|
committer | Wootak Jung <wootak.jung@samsung.com> | 2022-09-19 16:29:33 +0900 |
commit | f67b3dd3a47992e33b8a02f6323f8123a340031b (patch) | |
tree | 046edc582c7cd3bde97937b8460d8feb657fd13d | |
parent | 6e34ecb6e1994bc63e476648e0d7f4a3a4333f11 (diff) | |
download | bluez-accepted/tizen_7.0_unified_hotfix.tar.gz bluez-accepted/tizen_7.0_unified_hotfix.tar.bz2 bluez-accepted/tizen_7.0_unified_hotfix.zip |
Fix the coverity issuestizen_7.0_m2_releaseaccepted/tizen/unified/20220920.110657accepted/tizen/7.0/unified/hotfix/20221116.110628accepted/tizen/7.0/unified/20221110.062900tizen_7.0_hotfixaccepted/tizen_7.0_unified_hotfix
Change-Id: Iea3544fb1a71b9cde9693646b598310777bae66e
-rwxr-xr-x | profile.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -122,12 +122,12 @@ static inline int __get_profile_from_model_config_xml(const char *field, char ** node_value = (char *)xmlNodeListGetString(xml_doc, cur_node->xmlChildrenNode, 1); if (node_value) { *value = strdup(node_value); - free(node_name); - free(node_value); + xmlFree(node_name); + xmlFree(node_value); break; } } - free(node_name); + xmlFree(node_name); } } } |