summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoonKyu Park <sk7.park@samsung.com>2017-12-18 20:42:42 +0900
committerSoonKyu Park <sk7.park@samsung.com>2017-12-18 20:42:42 +0900
commitc6cd28984ab2ca8fc08c59ccac9d5aa7cab7c404 (patch)
tree480c95f8ab82895d4cf128374090ec6e16aad7d2
parent5f3baec7d954a7808aef1d4f3e17e4eb6d580cce (diff)
downloadrpm-c6cd28984ab2ca8fc08c59ccac9d5aa7cab7c404.tar.gz
rpm-c6cd28984ab2ca8fc08c59ccac9d5aa7cab7c404.tar.bz2
rpm-c6cd28984ab2ca8fc08c59ccac9d5aa7cab7c404.zip
Modify Prevent warning - case of 'RESOURCE_LEAK' : adjust malloc-free combinationsubmit/tizen_base/20171218.123350accepted/tizen/base/20171222.155030
Change-Id: If7b72745e0ef8fae3e3991e61a37ca26cde67723
-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);