Fixed copy/paste bug (thanks to Gerard Patel).
This commit is contained in:
parent
0c7c94b956
commit
2930b9c461
|
@ -115,8 +115,8 @@ static void CALLBACK THREAD_FreeTEB( TEB *teb )
|
||||||
/* Free the associated memory */
|
/* Free the associated memory */
|
||||||
|
|
||||||
if (teb->socket != -1) close( teb->socket );
|
if (teb->socket != -1) close( teb->socket );
|
||||||
close( NtCurrentTeb()->request_fd );
|
close( teb->request_fd );
|
||||||
close( NtCurrentTeb()->reply_fd );
|
close( teb->reply_fd );
|
||||||
if (teb->stack_sel) FreeSelector16( teb->stack_sel );
|
if (teb->stack_sel) FreeSelector16( teb->stack_sel );
|
||||||
FreeSelector16( teb->teb_sel );
|
FreeSelector16( teb->teb_sel );
|
||||||
if (teb->buffer) munmap( (void *)teb->buffer,
|
if (teb->buffer) munmap( (void *)teb->buffer,
|
||||||
|
|
Loading…
Reference in New Issue