projects
/
platform
/
core
/
appfw
/
slp-pkgmgr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0be707
)
Fix unfreed memory
72/138472/1
author
jongmyeongko
<jongmyeong.ko@samsung.com>
Wed, 12 Jul 2017 08:43:00 +0000
(17:43 +0900)
committer
jongmyeongko
<jongmyeong.ko@samsung.com>
Wed, 12 Jul 2017 08:43:00 +0000
(17:43 +0900)
the memory is for privilege_list of pkginfo which is set by backend lib.
Change-Id: I4957da14cc80ee47e22842f72ef4605a16ee3a99
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
client/src/pkgmgr.c
patch
|
blob
|
history
diff --git
a/client/src/pkgmgr.c
b/client/src/pkgmgr.c
index
2dc9747
..
f940516
100644
(file)
--- a/
client/src/pkgmgr.c
+++ b/
client/src/pkgmgr.c
@@
-2321,6
+2321,7
@@
API int pkgmgr_client_free_pkginfo(pkgmgr_info *info)
return PKGMGR_R_EINVAL;
}
+ g_list_free_full(pkg_info->privilege_list, free);
free(pkg_info->icon_buf);
free(pkg_info);