Fixed copy/paste bug (thanks to Gerard Patel).

This commit is contained in:
Alexandre Julliard 2000-12-22 20:32:23 +00:00
parent 0c7c94b956
commit 2930b9c461

View file

@ -115,8 +115,8 @@ static void CALLBACK THREAD_FreeTEB( TEB *teb )
/* Free the associated memory */
if (teb->socket != -1) close( teb->socket );
close( NtCurrentTeb()->request_fd );
close( NtCurrentTeb()->reply_fd );
close( teb->request_fd );
close( teb->reply_fd );
if (teb->stack_sel) FreeSelector16( teb->stack_sel );
FreeSelector16( teb->teb_sel );
if (teb->buffer) munmap( (void *)teb->buffer,