summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorSaarett <[email protected]>2017-02-05 12:44:56 +0200
committerGitHub <[email protected]>2017-02-05 12:44:56 +0200
commit03b30863279b111fb6b9f154a9bdaa831114adfb (patch)
tree75cf8472cb5461908c7d92ced09d42f9827008fb /README
parent59cdd6c63b89395d64ec9550181af5ed569b8466 (diff)
downloadxv6-labs-03b30863279b111fb6b9f154a9bdaa831114adfb.tar.gz
xv6-labs-03b30863279b111fb6b9f154a9bdaa831114adfb.tar.bz2
xv6-labs-03b30863279b111fb6b9f154a9bdaa831114adfb.zip
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.
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions