projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce54ddb
)
Revert "Resolving memory leak issue in Reply function of AppControl"
77/199277/1
author
jaekuk lee
<juku1999@samsung.com>
Fri, 8 Feb 2019 06:07:46 +0000
(06:07 +0000)
committer
jaekuk lee
<juku1999@samsung.com>
Fri, 8 Feb 2019 06:07:46 +0000
(06:07 +0000)
This reverts commit
ce54ddb0310adc9c889aff3748e1a317b48dc8d7
.
Change-Id: Ideb8c0e9021c2ee707c348f57880c122fb361598
common/app_control.cc
patch
|
blob
|
history
diff --git
a/common/app_control.cc
b/common/app_control.cc
index
1bbf5af
..
aa14230
100755
(executable)
--- a/
common/app_control.cc
+++ b/
common/app_control.cc
@@
-236,8
+236,8
@@
bool AppControl::AddDataArray(const std::string& key,
bool AppControl::Reply(const std::map<std::string,
std::vector<std::string>>& data) {
bundle* result;
- i
nt temp = appsvc_create_result_bundle(app_control_bundle_,&result);
-
if (temp
!= APPSVC_RET_OK) {
+ i
f (appsvc_create_result_bundle(app_control_bundle_,
+
&result)
!= APPSVC_RET_OK) {
LOGGER(ERROR) << "Failed to craete result bundle.";
return false;
}