a few nits
passes all tests on two-processor smp
This commit is contained in:
parent
b364c4b881
commit
af03ab142d
3 changed files with 1 additions and 4 deletions
2
exec.c
2
exec.c
|
|
@ -102,7 +102,7 @@ exec(char *path, char **argv)
|
|||
return 0;
|
||||
|
||||
bad:
|
||||
freevm(pgdir);
|
||||
if (pgdir) freevm(pgdir);
|
||||
iunlockput(ip);
|
||||
return -1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue