qmgr: Add file to a job with 1 refcount.

oldstable
Nikolay Sivov 2013-12-03 23:32:15 +04:00 committed by Alexandre Julliard
parent 5cbd28aa51
commit f4a2163de7
1 changed files with 0 additions and 1 deletions

View File

@ -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;