Fixes double-free when destroying a process
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 4 Feb 2010 03:07:33 +0000 (19:07 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 4 Feb 2010 03:07:33 +0000 (19:07 -0800)
commit8dea449cf207a8a0320ab3d0ac6b23f807f99c20
tree55d62a21f32d87af7a51919185a36c30371ea259
parentee060e59b1104ff8efb2ad830c940c434c2c0b36
Fixes double-free when destroying a process

Just free up to UVPT.  memwalking through UVPT (or VPT) will lead to
headaches and usually something other than what you want.
kern/arch/i386/env.c
kern/src/env.c
kern/src/page_alloc.c
kern/src/process.c