projects
/
platform
/
core
/
system
/
resourced.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f83958
)
Fix a memory leak
50/212950/1
author
Michal Bloch
<m.bloch@partner.samsung.com>
Wed, 28 Aug 2019 11:53:23 +0000
(13:53 +0200)
committer
Michal Bloch
<m.bloch@partner.samsung.com>
Wed, 28 Aug 2019 11:53:35 +0000
(13:53 +0200)
Change-Id: I0a6d5aed3646065d39876d36132eeb49f57f7729
Signed-off-by: Michal Bloch <m.bloch@partner.samsung.com>
src/memory/lowmem-limit.c
patch
|
blob
|
history
diff --git
a/src/memory/lowmem-limit.c
b/src/memory/lowmem-limit.c
index
ac22c1f
..
987735d
100644
(file)
--- a/
src/memory/lowmem-limit.c
+++ b/
src/memory/lowmem-limit.c
@@
-294,6
+294,7
@@
static bool lowmem_limit_cb(int fd, void *data)
if (anon_usage < mle->threshold) {
_D("(%s) cgroup escaped low memory status. usage(%d), anon usage (%d), threshold(%d)",
cg_dir, usage, anon_usage, mle->threshold);
+ free(mlog);
return true;
}