summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCheoleun Moon <chleun.moon@samsung.com>2020-02-13 14:12:46 +0900
committerCheoleun Moon <chleun.moon@samsung.com>2020-02-13 14:12:51 +0900
commit27ae5613be56b92cccbe7fd6f8af11bf38dc2f79 (patch)
treebb3a1096ebaf2714fc23a4b90ffc9c8584c001f4
parent648e8ea050f46b4f7494567e557848997e5eb91d (diff)
downloadwifi-27ae5613be56b92cccbe7fd6f8af11bf38dc2f79.tar.gz
wifi-27ae5613be56b92cccbe7fd6f8af11bf38dc2f79.tar.bz2
wifi-27ae5613be56b92cccbe7fd6f8af11bf38dc2f79.zip
Change-Id: Ia229612be30c1d8b6cd374f0c375b2034f979988 Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
-rw-r--r--sources/wearable/src/wearable-circle/app_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/wearable/src/wearable-circle/app_main.c b/sources/wearable/src/wearable-circle/app_main.c
index 0ad777d..001e8a5 100644
--- a/sources/wearable/src/wearable-circle/app_main.c
+++ b/sources/wearable/src/wearable-circle/app_main.c
@@ -931,14 +931,14 @@ static char *__detail_menu_ip_text_get_cb(void *data, Evas_Object *obj, const ch
if (ipv4_addr) {
if (!(ret = (char *)realloc(ret, strlen(ipv4_addr) + 13))) {
free(ret);
- free(ipv4_addr);
+ g_free(ipv4_addr);
WIFI_LOG_ERR("Failed to realloc memory");
return NULL;
}
strncat(ret, "IPv4<br>", 9);
strncat(ret, ipv4_addr, strlen(ipv4_addr) + 1);
strncat(ret, "<br>", 5);
- free(ipv4_addr);
+ g_free(ipv4_addr);
ipv4_addr = NULL;
}