Commit f4a2163d authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

qmgr: Add file to a job with 1 refcount.

parent 5cbd28aa
...@@ -113,7 +113,6 @@ static HRESULT WINAPI BackgroundCopyJob_AddFileSet( ...@@ -113,7 +113,6 @@ static HRESULT WINAPI BackgroundCopyJob_AddFileSet(
if (hr != S_OK) break; if (hr != S_OK) break;
/* Add a reference to the file to file list */ /* Add a reference to the file to file list */
IBackgroundCopyFile_AddRef(&file->IBackgroundCopyFile_iface);
list_add_head(&This->files, &file->entryFromJob); list_add_head(&This->files, &file->entryFromJob);
This->jobProgress.BytesTotal = BG_SIZE_UNKNOWN; This->jobProgress.BytesTotal = BG_SIZE_UNKNOWN;
++This->jobProgress.FilesTotal; ++This->jobProgress.FilesTotal;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment