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:
ff5bb41
)
Fix memory leak
75/238675/3
author
Ilho Kim
<ilho159.kim@samsung.com>
Thu, 16 Jul 2020 07:23:39 +0000
(16:23 +0900)
committer
HwanKyu Jhun
<h.jhun@samsung.com>
Wed, 22 Jul 2020 01:48:14 +0000
(
01:48
+0000)
pkgmgr_installer's member pkgs should be released
Change-Id: Idc55fc954bb3f98a67ef5a1beba77bdf4bfaba1b
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
installer/pkgmgr_installer.c
patch
|
blob
|
history
diff --git
a/installer/pkgmgr_installer.c
b/installer/pkgmgr_installer.c
index
6a30c92
..
c1abef0
100644
(file)
--- a/
installer/pkgmgr_installer.c
+++ b/
installer/pkgmgr_installer.c
@@
-407,6
+407,9
@@
API int pkgmgr_installer_free(pkgmgr_installer *pi)
g_object_unref(pi->conn);
}
+ if (pi->pkgs)
+ g_list_free_full(pi->pkgs, free);
+
if (pi->pkg_list)
g_hash_table_destroy(pi->pkg_list);