pc: fix ldt memory leak in procsetup()
This commit is contained in:
parent
70498378cf
commit
a9be1374a0
1 changed files with 0 additions and 1 deletions
|
@ -589,7 +589,6 @@ procsetup(Proc *p)
|
||||||
p->pcycles = -p->kentry;
|
p->pcycles = -p->kentry;
|
||||||
|
|
||||||
memset(p->gdt, 0, sizeof(p->gdt));
|
memset(p->gdt, 0, sizeof(p->gdt));
|
||||||
p->ldt = nil;
|
|
||||||
p->nldt = 0;
|
p->nldt = 0;
|
||||||
|
|
||||||
memset(p->dr, 0, sizeof(p->dr));
|
memset(p->dr, 0, sizeof(p->dr));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue