Free pgdir in setupkvm in case of mappages failure
There is a potential memory leak when mappages() fails inside setupkvm(). A call to freevm() is added in this case so as to reclaim the lost mapping pages.
This commit is contained in:
parent
59cdd6c63b
commit
03b3086327
Loading…
Reference in a new issue