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
6d6ea43d
Commit
6d6ea43d
authored
Nov 02, 2023
by
Alex Henrie
Committed by
Alexandre Julliard
Nov 03, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mp3dmod: Use CRT allocation functions.
parent
1df98a99
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
mp3dmod.c
dlls/mp3dmod/mp3dmod.c
+2
-3
No files found.
dlls/mp3dmod/mp3dmod.c
View file @
6d6ea43d
...
@@ -31,7 +31,6 @@
...
@@ -31,7 +31,6 @@
#include "rpcproxy.h"
#include "rpcproxy.h"
#include "wmcodecdsp.h"
#include "wmcodecdsp.h"
#include "wine/debug.h"
#include "wine/debug.h"
#include "wine/heap.h"
#include "initguid.h"
#include "initguid.h"
DEFINE_GUID
(
WMMEDIATYPE_Audio
,
0x73647561
,
0x0000
,
0x0010
,
0x80
,
0x00
,
0x00
,
0xaa
,
0x00
,
0x38
,
0x9b
,
0x71
);
DEFINE_GUID
(
WMMEDIATYPE_Audio
,
0x73647561
,
0x0000
,
0x0010
,
0x80
,
0x00
,
0x00
,
0xaa
,
0x00
,
0x38
,
0x9b
,
0x71
);
...
@@ -107,7 +106,7 @@ static ULONG WINAPI Unknown_Release(IUnknown *iface)
...
@@ -107,7 +106,7 @@ static ULONG WINAPI Unknown_Release(IUnknown *iface)
MoFreeMediaType
(
&
This
->
intype
);
MoFreeMediaType
(
&
This
->
intype
);
MoFreeMediaType
(
&
This
->
outtype
);
MoFreeMediaType
(
&
This
->
outtype
);
mpg123_delete
(
This
->
mh
);
mpg123_delete
(
This
->
mh
);
heap_
free
(
This
);
free
(
This
);
}
}
return
refcount
;
return
refcount
;
}
}
...
@@ -575,7 +574,7 @@ static HRESULT create_mp3_decoder(IUnknown *outer, REFIID iid, void **obj)
...
@@ -575,7 +574,7 @@ static HRESULT create_mp3_decoder(IUnknown *outer, REFIID iid, void **obj)
HRESULT
hr
;
HRESULT
hr
;
int
err
;
int
err
;
if
(
!
(
This
=
heap_alloc_zero
(
sizeof
(
*
This
))))
if
(
!
(
This
=
calloc
(
1
,
sizeof
(
*
This
))))
return
E_OUTOFMEMORY
;
return
E_OUTOFMEMORY
;
This
->
IUnknown_inner
.
lpVtbl
=
&
Unknown_vtbl
;
This
->
IUnknown_inner
.
lpVtbl
=
&
Unknown_vtbl
;
...
...
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