Nikolay Sivov : qmgr: Add file to a job with 1 refcount.

Alexandre Julliard julliard at winehq.org
Wed Dec 4 14:43:34 CST 2013


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Tue Dec  3 23:32:15 2013 +0400

qmgr: Add file to a job with 1 refcount.

---

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

diff --git a/dlls/qmgr/job.c b/dlls/qmgr/job.c
index 419ec09..f99d837 100644
--- a/dlls/qmgr/job.c
+++ b/dlls/qmgr/job.c
@@ -113,7 +113,6 @@ static HRESULT WINAPI BackgroundCopyJob_AddFileSet(
         if (hr != S_OK) break;
 
         /* Add a reference to the file to file list */
-        IBackgroundCopyFile_AddRef(&file->IBackgroundCopyFile_iface);
         list_add_head(&This->files, &file->entryFromJob);
         This->jobProgress.BytesTotal = BG_SIZE_UNKNOWN;
         ++This->jobProgress.FilesTotal;




More information about the wine-cvs mailing list