Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
53e25cb4
Commit
53e25cb4
authored
Jan 18, 2013
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jan 18, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qmgr: Remove separate release helpers.
parent
d4edda8c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
18 deletions
+12
-18
file.c
dlls/qmgr/file.c
+6
-9
job.c
dlls/qmgr/job.c
+6
-9
No files found.
dlls/qmgr/file.c
View file @
53e25cb4
...
...
@@ -40,14 +40,6 @@ static inline BackgroundCopyFileImpl *impl_from_IBackgroundCopyFile(IBackgroundC
return
CONTAINING_RECORD
(
iface
,
BackgroundCopyFileImpl
,
IBackgroundCopyFile_iface
);
}
static
void
BackgroundCopyFileDestructor
(
BackgroundCopyFileImpl
*
This
)
{
IBackgroundCopyJob2_Release
(
&
This
->
owner
->
IBackgroundCopyJob2_iface
);
HeapFree
(
GetProcessHeap
(),
0
,
This
->
info
.
LocalName
);
HeapFree
(
GetProcessHeap
(),
0
,
This
->
info
.
RemoteName
);
HeapFree
(
GetProcessHeap
(),
0
,
This
);
}
static
HRESULT
WINAPI
BITS_IBackgroundCopyFile_QueryInterface
(
IBackgroundCopyFile
*
iface
,
REFIID
riid
,
...
...
@@ -86,7 +78,12 @@ static ULONG WINAPI BITS_IBackgroundCopyFile_Release(
TRACE
(
"(%p)->(%d)
\n
"
,
This
,
ref
);
if
(
ref
==
0
)
BackgroundCopyFileDestructor
(
This
);
{
IBackgroundCopyJob2_Release
(
&
This
->
owner
->
IBackgroundCopyJob2_iface
);
HeapFree
(
GetProcessHeap
(),
0
,
This
->
info
.
LocalName
);
HeapFree
(
GetProcessHeap
(),
0
,
This
->
info
.
RemoteName
);
HeapFree
(
GetProcessHeap
(),
0
,
This
);
}
return
ref
;
}
...
...
dlls/qmgr/job.c
View file @
53e25cb4
...
...
@@ -28,14 +28,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
qmgr
);
static
void
BackgroundCopyJobDestructor
(
BackgroundCopyJobImpl
*
This
)
{
This
->
cs
.
DebugInfo
->
Spare
[
0
]
=
0
;
DeleteCriticalSection
(
&
This
->
cs
);
HeapFree
(
GetProcessHeap
(),
0
,
This
->
displayName
);
HeapFree
(
GetProcessHeap
(),
0
,
This
);
}
static
inline
BackgroundCopyJobImpl
*
impl_from_IBackgroundCopyJob2
(
IBackgroundCopyJob2
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
BackgroundCopyJobImpl
,
IBackgroundCopyJob2_iface
);
...
...
@@ -77,7 +69,12 @@ static ULONG WINAPI BITS_IBackgroundCopyJob_Release(IBackgroundCopyJob2 *iface)
TRACE
(
"(%p)->(%d)
\n
"
,
This
,
ref
);
if
(
ref
==
0
)
BackgroundCopyJobDestructor
(
This
);
{
This
->
cs
.
DebugInfo
->
Spare
[
0
]
=
0
;
DeleteCriticalSection
(
&
This
->
cs
);
HeapFree
(
GetProcessHeap
(),
0
,
This
->
displayName
);
HeapFree
(
GetProcessHeap
(),
0
,
This
);
}
return
ref
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment