Merge "lmkd: use after free"
This commit is contained in:
commit
7c3c8c27e1
1 changed files with 3 additions and 3 deletions
|
|
@ -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…
Add table
Reference in a new issue