mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[CRT]
- 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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user