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
ca1c5862
Commit
ca1c5862
authored
Jan 31, 2022
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jan 31, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mf/tests: Remove remaining kernel32 heap calls.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
cc1a9e23
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mf.c
dlls/mf/tests/mf.c
+2
-2
No files found.
dlls/mf/tests/mf.c
View file @
ca1c5862
...
...
@@ -1562,7 +1562,7 @@ static ULONG WINAPI test_source_Release(IMFMediaSource *iface)
ULONG
refcount
=
InterlockedDecrement
(
&
source
->
refcount
);
if
(
!
refcount
)
HeapFree
(
GetProcessHeap
(),
0
,
source
);
free
(
source
);
return
refcount
;
}
...
...
@@ -1650,7 +1650,7 @@ static IMFMediaSource *create_test_source(void)
{
struct
test_source
*
source
;
source
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
*
source
));
source
=
calloc
(
1
,
sizeof
(
*
source
));
source
->
IMFMediaSource_iface
.
lpVtbl
=
&
test_source_vtbl
;
source
->
refcount
=
1
;
...
...
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