mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 21:46:05 +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:
parent
0bb1f439a4
commit
0c13e015cf
1 changed files with 1 additions and 1 deletions
|
@ -966,7 +966,7 @@ void msvcrt_free_io(void)
|
||||||
free(__pioinfo[i]);
|
free(__pioinfo[i]);
|
||||||
|
|
||||||
for(i=0; i<sizeof(fstream)/sizeof(fstream[0]); 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;
|
file_cs.DebugInfo->Spare[0] = 0;
|
||||||
DeleteCriticalSection(&file_cs);
|
DeleteCriticalSection(&file_cs);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue