From: sungwook79.park Date: Thu, 20 Apr 2017 01:30:03 +0000 (+0900) Subject: Fix issue detected by static analysis tool X-Git-Tag: submit/tizen/20170420.051912~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=61c7b96ea00d030c3b5224a58fba15ef205f0793;p=platform%2Fcore%2Fuifw%2Fsmartreply-service.git Fix issue detected by static analysis tool Change-Id: I1fbee5d0f6c71a01d1c535e94b178ea80df40e55 Signed-off-by: sungwook79.park --- diff --git a/src/request_mgr.cpp b/src/request_mgr.cpp index e1c4097..6da6d0b 100644 --- a/src/request_mgr.cpp +++ b/src/request_mgr.cpp @@ -254,7 +254,7 @@ void smr::request_mgr::string_to_unicode(vector& 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); } } }