Merge "lmkd: use after free"
am: 7c3c8c27e1
Change-Id: If54ce69ac7ca03a67e25a2e3a3f4392ba2a8aeca
This commit is contained in:
commit
c95fb64f0f
|
@ -615,11 +615,11 @@ static int kill_one_process(struct proc* procp, int min_score_adj, bool is_criti
|
|||
pid_remove(pid);
|
||||
|
||||
if (r) {
|
||||
ALOGE("kill(%d): errno=%d", procp->pid, errno);
|
||||
ALOGE("kill(%d): errno=%d", pid, errno);
|
||||
return -1;
|
||||
} else {
|
||||
return tasksize;
|
||||
}
|
||||
|
||||
return tasksize;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue