projects
/
platform
/
core
/
uifw
/
smartreply-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfae965
)
Fix issue detected by static analysis tool
21/126021/2
author
sungwook79.park
<sungwook79.park@samsung.com>
Thu, 20 Apr 2017 01:30:03 +0000
(10:30 +0900)
committer
sungwook79.park
<sungwook79.park@samsung.com>
Thu, 20 Apr 2017 01:36:08 +0000
(10:36 +0900)
Change-Id: I1fbee5d0f6c71a01d1c535e94b178ea80df40e55
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
src/request_mgr.cpp
patch
|
blob
|
history
diff --git
a/src/request_mgr.cpp
b/src/request_mgr.cpp
index
e1c4097
..
6da6d0b
100644
(file)
--- a/
src/request_mgr.cpp
+++ b/
src/request_mgr.cpp
@@
-254,7
+254,7
@@
void smr::request_mgr::string_to_unicode(vector<string>& replies) {
char* utf_8 = eina_unicode_unicode_to_utf8(unicode_event, &length);
it->replace(idx, emoticon.first.length(), string(utf_8));
_SI("[utf-8]Before : %s, After : %s", emoticon.first.c_str(), utf_8);
-
delete [] utf_8
;
+
free(utf_8)
;
}
}
}