- Fix multiple free in msvcrt_free_io. Fixes VLC Player crash on exit. Wine already has it right.

svn path=/trunk/; revision=55430
This commit is contained in:
Thomas Faber 2012-02-05 15:47:41 +00:00
parent 0bb1f439a4
commit 0c13e015cf

View file

@ -966,7 +966,7 @@ void msvcrt_free_io(void)
free(__pioinfo[i]);
for(i=0; i<sizeof(fstream)/sizeof(fstream[0]); i++)
free(fstream[i/FD_BLOCK_SIZE]);
free(fstream[i]);
file_cs.DebugInfo->Spare[0] = 0;
DeleteCriticalSection(&file_cs);