summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoonKyu Park <sk7.park@samsung.com>2017-12-18 20:42:42 +0900
committerpark <sk7.park@samsung.com>2017-12-19 07:07:10 +0000
commit3c8dd7adebbf1bee4ef1413427f2002cbe2c0204 (patch)
tree9148adcbffd8236bce8a69a1989449f32a920366
parent08392e0f474b734718f11b29848f59da43ed264c (diff)
downloadrpm-tizen_4.0.IoT.p2_release.tar.gz
rpm-tizen_4.0.IoT.p2_release.tar.bz2
rpm-tizen_4.0.IoT.p2_release.zip
Modify Prevent warning - case of 'RESOURCE_LEAK' : adjust malloc-free combinationtizen_4.0.IoT.p2_releasesubmit/tizen_4.0_base/20171219.071804accepted/tizen/4.0/base/20171222.155034tizen_4.0_tv
Change-Id: If7b72745e0ef8fae3e3991e61a37ca26cde67723 (cherry picked from commit c6cd28984ab2ca8fc08c59ccac9d5aa7cab7c404)
-rw-r--r--lib/tagexts.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tagexts.c b/lib/tagexts.c
index 563c1b43c..95c5e074d 100644
--- a/lib/tagexts.c
+++ b/lib/tagexts.c
@@ -272,6 +272,7 @@ static char * strtolocale(char *str)
locisutf8 = 0;
if (locisutf8 == strisutf8) {
wstr = _free(wstr);
+ cc = _free(cc);
return str;
}
str = _free((char *)str);