Piotr Caban : msxml3: Fixed typo in create_bsc.

Alexandre Julliard julliard at winehq.org
Mon Jul 14 05:57:12 CDT 2008


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

Author: Piotr Caban <piotr.caban at gmail.com>
Date:   Sun Jul 13 23:21:41 2008 +0200

msxml3: Fixed typo in create_bsc.

---

 dlls/msxml3/domdoc.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/msxml3/domdoc.c b/dlls/msxml3/domdoc.c
index a2d7243..588a2ab 100644
--- a/dlls/msxml3/domdoc.c
+++ b/dlls/msxml3/domdoc.c
@@ -299,12 +299,13 @@ static const struct IBindStatusCallbackVtbl bsc_vtbl =
 
 static bsc_t *create_bsc(domdoc *doc)
 {
-    bsc_t *bsc = HeapAlloc(GetProcessHeap(), 0, sizeof(bsc));
+    bsc_t *bsc = HeapAlloc(GetProcessHeap(), 0, sizeof(bsc_t));
 
     bsc->lpVtbl = &bsc_vtbl;
     bsc->ref = 1;
     bsc->doc = doc;
     bsc->binding = NULL;
+    bsc->memstream = NULL;
 
     return bsc;
 }




More information about the wine-cvs mailing list