ref: a9be1374a006b95b017f7123a5f0f2193aa90279
parent: 70498378cf4baf812ace5750b2de31c1720a87d5
author: cinap_lenrek <[email protected]>
date: Mon Dec 2 02:43:45 EST 2019
pc: fix ldt memory leak in procsetup()
--- a/sys/src/9/pc/main.c
+++ b/sys/src/9/pc/main.c
@@ -589,7 +589,6 @@
p->pcycles = -p->kentry;
memset(p->gdt, 0, sizeof(p->gdt));
- p->ldt = nil;
p->nldt = 0;
memset(p->dr, 0, sizeof(p->dr));