diff options
author | Seonah Moon <seonah1.moon@samsung.com> | 2022-09-22 14:58:10 +0900 |
---|---|---|
committer | Seonah Moon <seonah1.moon@samsung.com> | 2022-09-22 14:58:31 +0900 |
commit | 550169634e644b92fc4aff60108c6276e215ce42 (patch) | |
tree | edf8880ec8eb6d39b8b01098c4fbf07358e0894e | |
parent | faf46c1fe6f463ebe72c304e702def87cf1ea0cf (diff) | |
download | wifi-accepted/tizen_7.0_unified.tar.gz wifi-accepted/tizen_7.0_unified.tar.bz2 wifi-accepted/tizen_7.0_unified.zip |
xml: use correct deallocatortizen_7.0_m2_releaseaccepted/tizen/unified/20220922.173843accepted/tizen/7.0/unified/hotfix/20221116.112052accepted/tizen/7.0/unified/20221110.061832tizen_7.0_hotfixtizen_7.0accepted/tizen_7.0_unified_hotfixaccepted/tizen_7.0_unified
Change-Id: I6d20ed9535a59b420e8a7d6738e0ef1c1e097c7d
-rw-r--r-- | sources/wearable/src/util/device.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/wearable/src/util/device.c b/sources/wearable/src/util/device.c index 54a0901..162321b 100644 --- a/sources/wearable/src/util/device.c +++ b/sources/wearable/src/util/device.c @@ -66,12 +66,12 @@ static inline int __get_model_from_model_config_xml(const char *field, char **va 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); } } } |