Andrew Talbot : qmgr: Memory allocation size fix.

Alexandre Julliard julliard at winehq.org
Mon May 12 07:12:19 CDT 2008


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Sat May 10 16:25:29 2008 +0100

qmgr: Memory allocation size fix.

---

 dlls/qmgr/file.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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-cvs mailing list