Michael Stefaniuc : windowscodecs/tests: Fix crash introduced with eaf394a9ac4c.

Alexandre Julliard julliard at winehq.org
Thu Jan 13 11:48:55 CST 2011


Module: wine
Branch: master
Commit: b1d9b7ee2ad27fe8c25cb2d0724ddab735027890
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b1d9b7ee2ad27fe8c25cb2d0724ddab735027890

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Wed Jan 12 22:00:41 2011 +0100

windowscodecs/tests: Fix crash introduced with eaf394a9ac4c.

---

 dlls/windowscodecs/tests/converter.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/windowscodecs/tests/converter.c b/dlls/windowscodecs/tests/converter.c
index a720b4b..969dc16 100644
--- a/dlls/windowscodecs/tests/converter.c
+++ b/dlls/windowscodecs/tests/converter.c
@@ -179,7 +179,7 @@ static const IWICBitmapSourceVtbl BitmapTestSrc_Vtbl = {
 
 static void CreateTestBitmap(const bitmap_data *data, BitmapTestSrc **This)
 {
-    *This = HeapAlloc(GetProcessHeap(), 0, sizeof(*This));
+    *This = HeapAlloc(GetProcessHeap(), 0, sizeof(**This));
 
     if (*This)
     {




More information about the wine-cvs mailing list