summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeonah Moon <seonah1.moon@samsung.com>2022-09-22 14:58:10 +0900
committerSeonah Moon <seonah1.moon@samsung.com>2022-09-22 14:58:31 +0900
commit550169634e644b92fc4aff60108c6276e215ce42 (patch)
treeedf8880ec8eb6d39b8b01098c4fbf07358e0894e
parentfaf46c1fe6f463ebe72c304e702def87cf1ea0cf (diff)
downloadwifi-accepted/tizen_7.0_unified_hotfix.tar.gz
wifi-accepted/tizen_7.0_unified_hotfix.tar.bz2
wifi-accepted/tizen_7.0_unified_hotfix.zip
Change-Id: I6d20ed9535a59b420e8a7d6738e0ef1c1e097c7d
-rw-r--r--sources/wearable/src/util/device.c6
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);
}
}
}