projects
/
platform
/
core
/
appfw
/
pkgmgr-info.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
572574e
)
Fix static analysis issues
68/288168/1
author
ilho kim
<ilho159.kim@samsung.com>
Mon, 13 Feb 2023 01:50:01 +0000
(10:50 +0900)
committer
ilho kim
<ilho159.kim@samsung.com>
Mon, 13 Feb 2023 01:50:01 +0000
(10:50 +0900)
- Fix resource leak
Change-Id: I4157b1f9f5e3014ce0adea493551e98f3a5e8038
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
src/pkgmgrinfo_appinfo.c
patch
|
blob
|
history
diff --git
a/src/pkgmgrinfo_appinfo.c
b/src/pkgmgrinfo_appinfo.c
index
9651dab
..
8ea2611
100644
(file)
--- a/
src/pkgmgrinfo_appinfo.c
+++ b/
src/pkgmgrinfo_appinfo.c
@@
-218,6
+218,7
@@
API int pkgmgrinfo_appinfo_get_usr_appinfo(const char *appid, uid_t uid,
real_appid = __get_real_appid(appid);
if (real_appid == NULL) {
LOGE("Out of memory");
+ pkgmgrinfo_appinfo_filter_destroy(filter);
return PMINFO_R_ERROR;
}