qmgr: Memory allocation size fix

Andrew Talbot andrew.talbot at talbotville.com
Sat May 10 10:25:29 CDT 2008


Changelog:
    qmgr: Memory allocation size fix.

diff --git a/dlls/qmgr/file.c b/dlls/qmgr/file.c
index 84cd30c..1ca1bf3 100644
--- a/dlls/qmgr/file.c
+++ b/dlls/qmgr/file.c
@@ -355,7 +355,7 @@ static const IBindStatusCallbackVtbl DLBindStatusCallback_Vtbl =
 static DLBindStatusCallback *DLBindStatusCallbackConstructor(
     BackgroundCopyFileImpl *file)
 {
-    DLBindStatusCallback *This = HeapAlloc(GetProcessHeap(), 0, sizeof This);
+    DLBindStatusCallback *This = HeapAlloc(GetProcessHeap(), 0, sizeof *This);
     if (!This)
         return NULL;
 



More information about the wine-patches mailing list