projects
/
platform
/
core
/
appfw
/
ui-gadget-1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
660cad6
)
Fix memory leak
41/127041/1
author
Jiwoong Im
<jiwoong.im@samsung.com>
Mon, 12 Dec 2016 03:53:29 +0000
(12:53 +0900)
committer
Jiwoong Im
<jiwoong.im@samsung.com>
Wed, 26 Apr 2017 02:35:59 +0000
(11:35 +0900)
- Fix memory leak in using app_control_get_extra_data.
Change-Id: I980ccd09b6cdd844be0edbaab17069390cb6118d
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
client/ug-client.c
patch
|
blob
|
history
diff --git
a/client/ug-client.c
b/client/ug-client.c
index
bb88469
..
9ffc2cd
100644
(file)
--- a/
client/ug-client.c
+++ b/
client/ug-client.c
@@
-183,6
+183,9
@@
void _ug_client_result_cb(ui_gadget_h ug, app_control_h reply, void *priv)
result = APP_CONTROL_RESULT_SUCCEEDED;
}
+ if (value)
+ free(value);
+
ad = priv;
ret = app_control_reply_to_launch_request(reply, ad->request, (app_control_result_e)result);