From 61c7b96ea00d030c3b5224a58fba15ef205f0793 Mon Sep 17 00:00:00 2001 From: "sungwook79.park" Date: Thu, 20 Apr 2017 10:30:03 +0900 Subject: [PATCH] Fix issue detected by static analysis tool Change-Id: I1fbee5d0f6c71a01d1c535e94b178ea80df40e55 Signed-off-by: sungwook79.park --- src/request_mgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } } -- 2.7.4