projects
/
platform
/
core
/
api
/
context.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59d9eb0
)
Fix memory leak(TSAM-12738)
97/112097/2
author
Somin Kim
<somin926.kim@samsung.com>
Thu, 26 Jan 2017 03:15:55 +0000
(12:15 +0900)
committer
Somin Kim
<somin926.kim@samsung.com>
Thu, 26 Jan 2017 03:33:38 +0000
(19:33 -0800)
Change-Id: Ic8aac37e17e6fae9e2fa71e48cbfa4106ce1d352
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
src/context_trigger.cpp
patch
|
blob
|
history
diff --git
a/src/context_trigger.cpp
b/src/context_trigger.cpp
index
169dbff
..
dbfee68
100644
(file)
--- a/
src/context_trigger.cpp
+++ b/
src/context_trigger.cpp
@@
-452,6
+452,8
@@
SO_EXPORT int context_trigger_rule_set_action_notification(context_trigger_rule_
error = pkgmgrinfo_appinfo_get_usr_appinfo(app_id, getuid(), &app_info);
g_free(app_id);
IF_FAIL_RETURN_TAG(error == PMINFO_R_OK, CONTEXT_TRIGGER_ERROR_INVALID_RULE, _E, "No such app");
+
+ pkgmgrinfo_appinfo_destroy_appinfo(app_info);
}
// Set title, content