Commit in reactos/lib/ole32 on MAIN
ifs.c+2-21.12 -> 1.13
Allocate correct amount of memory.
Fixes bug 451.

reactos/lib/ole32
ifs.c 1.12 -> 1.13
diff -u -r1.12 -r1.13
--- ifs.c	20 Oct 2004 09:27:43 -0000	1.12
+++ ifs.c	15 Dec 2004 11:34:52 -0000	1.13
@@ -77,8 +77,8 @@
 {
 	LPVOID *NewSpyedBlocks;
 
-	if (!Malloc32.SpyedBlocks) NewSpyedBlocks = LocalAlloc(GMEM_ZEROINIT, NewLength);
-	else NewSpyedBlocks = LocalReAlloc(Malloc32.SpyedBlocks, NewLength, GMEM_ZEROINIT);
+	if (!Malloc32.SpyedBlocks) NewSpyedBlocks = LocalAlloc(GMEM_ZEROINIT, NewLength * sizeof(PVOID));
+	else NewSpyedBlocks = LocalReAlloc(Malloc32.SpyedBlocks, NewLength * sizeof(PVOID), GMEM_ZEROINIT);
 	if (NewSpyedBlocks) {
 		Malloc32.SpyedBlocks = NewSpyedBlocks;
 		Malloc32.SpyedBlockTableLength = NewLength;
CVSspam 0.2.8