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
(from parent 1:
d9dca76
)
Fix memory leak
50/265750/2
author
Ilho Kim
<ilho159.kim@samsung.com>
Thu, 28 Oct 2021 04:51:10 +0000
(13:51 +0900)
committer
HwanKyu Jhun
<h.jhun@samsung.com>
Thu, 28 Oct 2021 05:57:45 +0000
(
05:57
+0000)
res_type, res_version should be free
Change-Id: Ia32662389504fced7b8bd63a1f0fd5898e0a0237
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
src/pkgmgrinfo_basic.c
patch
|
blob
|
history
diff --git
a/src/pkgmgrinfo_basic.c
b/src/pkgmgrinfo_basic.c
index
3e95cdd
..
8aafaca
100644
(file)
--- a/
src/pkgmgrinfo_basic.c
+++ b/
src/pkgmgrinfo_basic.c
@@
-549,6
+549,10
@@
API void pkgmgrinfo_basic_free_package(package_x *package)
free((void *)package->use_system_certs);
if (package->locale)
free((void *)package->locale);
+ if (package->res_type)
+ free((void *)package->res_type);
+ if (package->res_version)
+ free((void *)package->res_version);
/*Free Icon*/
g_list_free_full(package->icon, __ps_free_icon);