projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bb1f43
)
[CRT]
author
Thomas Faber
<thomas.faber@reactos.org>
Sun, 5 Feb 2012 15:47:41 +0000
(15:47 +0000)
committer
Thomas Faber
<thomas.faber@reactos.org>
Sun, 5 Feb 2012 15:47:41 +0000
(15:47 +0000)
- Fix multiple free in msvcrt_free_io. Fixes VLC Player crash on exit. Wine already has it right.
svn path=/trunk/; revision=55430
reactos/lib/sdk/crt/stdio/file.c
patch
|
blob
|
history
diff --git
a/reactos/lib/sdk/crt/stdio/file.c
b/reactos/lib/sdk/crt/stdio/file.c
index
9c5a49d
..
e3e4e2c
100644
(file)
--- a/
reactos/lib/sdk/crt/stdio/file.c
+++ b/
reactos/lib/sdk/crt/stdio/file.c
@@
-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);