projects
/
test
/
tct
/
native
/
api.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cccbfa6
)
[UTC][app-manager][Non-ACR][Fix memory leak issue]
author
Junghoon Park
<jh9216.park@samsung.com>
Tue, 7 Feb 2017 08:29:43 +0000
(17:29 +0900)
committer
Junghoon Park
<jh9216.park@samsung.com>
Tue, 7 Feb 2017 08:29:43 +0000
(17:29 +0900)
Change-Id: I7c21bd181cdde1bff14ec9554cc30be6aba363e1
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
src/utc/app-manager/utc-app-manager.c
patch
|
blob
|
history
diff --git
a/src/utc/app-manager/utc-app-manager.c
b/src/utc/app-manager/utc-app-manager.c
index af5ca71d3271c38947652c11146a3c6a3a210035..0b97b1dc8445286b4f94acaee27bfb58dea799dc 100755
(executable)
--- a/
src/utc/app-manager/utc-app-manager.c
+++ b/
src/utc/app-manager/utc-app-manager.c
@@
-1742,6
+1742,7
@@
int utc_app_info_filter_add_string_n2(void)
int utc_app_info_filter_add_string_n3(void)
{
int ret = APP_MANAGER_ERROR_NONE;
+ int r;
app_info_filter_h filter = NULL;
const char *property = "Invalid property";
const char *value = "Value";
@@
-1750,6
+1751,9
@@
int utc_app_info_filter_add_string_n3(void)
assert_eq_with_exit(ret,APP_MANAGER_ERROR_NONE);
ret = app_info_filter_add_string(filter, property, value);
+ r = app_info_filter_destroy(filter);
+ assert_eq_with_exit(r, APP_MANAGER_ERROR_NONE);
+
assert_eq_with_exit(ret, APP_MANAGER_ERROR_INVALID_PARAMETER);
normal_exit(0);