projects
/
platform
/
core
/
appfw
/
pkgmgr-tool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
085b2de
)
Fix possibility of memory leak
91/219691/1
author
Ilho Kim
<ilho159.kim@samsung.com>
Mon, 9 Dec 2019 07:19:49 +0000
(16:19 +0900)
committer
Ilho Kim
<ilho159.kim@samsung.com>
Mon, 9 Dec 2019 07:19:49 +0000
(16:19 +0900)
Change-Id: I5bfd5f3c51a20ab2d8392c6abe394a7f1790c61b
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
src/install_preload_pkg.c
patch
|
blob
|
history
diff --git
a/src/install_preload_pkg.c
b/src/install_preload_pkg.c
index
77e31e1
..
e53ab34
100644
(file)
--- a/
src/install_preload_pkg.c
+++ b/
src/install_preload_pkg.c
@@
-135,6
+135,7
@@
static int _install_preload_pkg(const char *backend, const char *directory,
} else if (pid < 0) {
_E("failed to fork and execute %s!", backend);
closedir(dir);
+ g_list_free_full(preload_rw_pkg_list, free);
return -1;
}