Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
dfa0c9d2
Commit
dfa0c9d2
authored
Nov 02, 2023
by
Alex Henrie
Committed by
Alexandre Julliard
Nov 08, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wmvcore: Use CRT allocation functions.
parent
726c5df5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
wmvcore_main.c
dlls/wmvcore/wmvcore_main.c
+2
-3
writer.c
dlls/wmvcore/writer.c
+2
-3
No files found.
dlls/wmvcore/wmvcore_main.c
View file @
dfa0c9d2
...
...
@@ -27,7 +27,6 @@
#include "wmsdk.h"
#include "wine/debug.h"
#include "wine/heap.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
wmvcore
);
...
...
@@ -146,7 +145,7 @@ static ULONG WINAPI WMProfileManager_Release(IWMProfileManager2 *iface)
TRACE
(
"(%p) ref=%ld
\n
"
,
This
,
ref
);
if
(
!
ref
)
heap_
free
(
This
);
free
(
This
);
return
ref
;
}
...
...
@@ -227,7 +226,7 @@ HRESULT WINAPI WMCreateProfileManager(IWMProfileManager **ret)
TRACE
(
"(%p)
\n
"
,
ret
);
profile_mgr
=
heap_
alloc
(
sizeof
(
*
profile_mgr
));
profile_mgr
=
m
alloc
(
sizeof
(
*
profile_mgr
));
if
(
!
profile_mgr
)
return
E_OUTOFMEMORY
;
...
...
dlls/wmvcore/writer.c
View file @
dfa0c9d2
...
...
@@ -20,7 +20,6 @@
#include "wmsdkidl.h"
#include "wine/debug.h"
#include "wine/heap.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
wmvcore
);
...
...
@@ -82,7 +81,7 @@ static ULONG WINAPI WMWriter_Release(IWMWriter *iface)
TRACE
(
"(%p) ref=%ld
\n
"
,
This
,
ref
);
if
(
!
ref
)
heap_
free
(
This
);
free
(
This
);
return
ref
;
}
...
...
@@ -359,7 +358,7 @@ HRESULT WINAPI WMCreateWriter(IUnknown *reserved, IWMWriter **writer)
TRACE
(
"(%p %p)
\n
"
,
reserved
,
writer
);
ret
=
heap_
alloc
(
sizeof
(
*
ret
));
ret
=
m
alloc
(
sizeof
(
*
ret
));
if
(
!
ret
)
return
E_OUTOFMEMORY
;
...
...
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