diff options
author | Cheoleun Moon <chleun.moon@samsung.com> | 2020-02-13 14:12:46 +0900 |
---|---|---|
committer | Cheoleun Moon <chleun.moon@samsung.com> | 2020-02-13 14:12:51 +0900 |
commit | 27ae5613be56b92cccbe7fd6f8af11bf38dc2f79 (patch) | |
tree | bb3a1096ebaf2714fc23a4b90ffc9c8584c001f4 | |
parent | 648e8ea050f46b4f7494567e557848997e5eb91d (diff) | |
download | wifi-tizen_6.0_hotfix.tar.gz wifi-tizen_6.0_hotfix.tar.bz2 wifi-tizen_6.0_hotfix.zip |
Fix coverity issuetizen_6.0.m2_releasesubmit/tizen_6.0_hotfix/20201103.115105submit/tizen_6.0_hotfix/20201102.192905submit/tizen_6.0/20201029.205505submit/tizen/20200224.070517submit/tizen/20200214.070503accepted/tizen/unified/20200225.224324accepted/tizen/6.0/unified/hotfix/20201103.045647accepted/tizen/6.0/unified/20201030.102747tizen_6.0_hotfixtizen_6.0accepted/tizen_6.0_unified_hotfixaccepted/tizen_6.0_unified
Change-Id: Ia229612be30c1d8b6cd374f0c375b2034f979988
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
-rw-r--r-- | sources/wearable/src/wearable-circle/app_main.c | 4 |
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; } |