Rob Shearman : urlmon: Initialise the cache_file field of DownloadBSC on creation.

Alexandre Julliard julliard at winehq.org
Mon Mar 10 17:05:21 CDT 2008


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

Author: Rob Shearman <rob at codeweavers.com>
Date:   Mon Mar 10 19:30:20 2008 +0000

urlmon: Initialise the cache_file field of DownloadBSC on creation.

---

 dlls/urlmon/download.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/urlmon/download.c b/dlls/urlmon/download.c
index 3082dd1..d81dffa 100644
--- a/dlls/urlmon/download.c
+++ b/dlls/urlmon/download.c
@@ -309,6 +309,7 @@ static IBindStatusCallback *DownloadBSC_Create(IBindStatusCallback *callback, LP
     ret->lpServiceProviderVtbl    = &ServiceProviderVtbl;
     ret->ref = 1;
     ret->file_name = heap_strdupW(file_name);
+    ret->cache_file = NULL;
 
     if(callback)
         IBindStatusCallback_AddRef(callback);




More information about the wine-cvs mailing list