Merge "lmkd: use after free"

This commit is contained in:
Treehugger Robot 2018-02-07 01:53:15 +00:00 committed by Gerrit Code Review
commit 7c3c8c27e1

View file

@ -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;
}
/*