pc: fix ldt memory leak in procsetup()

This commit is contained in:
cinap_lenrek 2019-12-02 07:43:45 +01:00
parent 70498378cf
commit a9be1374a0

View file

@ -589,7 +589,6 @@ procsetup(Proc *p)
p->pcycles = -p->kentry;
memset(p->gdt, 0, sizeof(p->gdt));
p->ldt = nil;
p->nldt = 0;
memset(p->dr, 0, sizeof(p->dr));