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
e90e08b5
Commit
e90e08b5
authored
Nov 02, 2023
by
Alex Henrie
Committed by
Alexandre Julliard
Nov 03, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsuiext: Use CRT allocation functions.
parent
c9d4b515
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
dsuiext.c
dlls/dsuiext/dsuiext.c
+4
-5
No files found.
dlls/dsuiext/dsuiext.c
View file @
e90e08b5
...
@@ -28,7 +28,6 @@
...
@@ -28,7 +28,6 @@
#include "iads.h"
#include "iads.h"
#include "dsclient.h"
#include "dsclient.h"
#include "wine/heap.h"
#include "wine/debug.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
dsuiext
);
WINE_DEFAULT_DEBUG_CHANNEL
(
dsuiext
);
...
@@ -76,7 +75,7 @@ static ULONG WINAPI dispspec_Release(IDsDisplaySpecifier *iface)
...
@@ -76,7 +75,7 @@ static ULONG WINAPI dispspec_Release(IDsDisplaySpecifier *iface)
if
(
!
ref
)
if
(
!
ref
)
{
{
TRACE
(
"destroying %p
\n
"
,
iface
);
TRACE
(
"destroying %p
\n
"
,
iface
);
heap_
free
(
dispspec
);
free
(
dispspec
);
}
}
return
ref
;
return
ref
;
...
@@ -180,7 +179,7 @@ static HRESULT DsDisplaySpecifier_create(REFIID iid, void **obj)
...
@@ -180,7 +179,7 @@ static HRESULT DsDisplaySpecifier_create(REFIID iid, void **obj)
DisplaySpec
*
dispspec
;
DisplaySpec
*
dispspec
;
HRESULT
hr
;
HRESULT
hr
;
dispspec
=
heap_
alloc
(
sizeof
(
*
dispspec
));
dispspec
=
m
alloc
(
sizeof
(
*
dispspec
));
if
(
!
dispspec
)
return
E_OUTOFMEMORY
;
if
(
!
dispspec
)
return
E_OUTOFMEMORY
;
dispspec
->
IDsDisplaySpecifier_iface
.
lpVtbl
=
&
IDsDisplaySpecifier_vtbl
;
dispspec
->
IDsDisplaySpecifier_iface
.
lpVtbl
=
&
IDsDisplaySpecifier_vtbl
;
...
@@ -250,7 +249,7 @@ static ULONG WINAPI factory_Release(IClassFactory *iface)
...
@@ -250,7 +249,7 @@ static ULONG WINAPI factory_Release(IClassFactory *iface)
TRACE
(
"(%p) ref %lu
\n
"
,
iface
,
ref
);
TRACE
(
"(%p) ref %lu
\n
"
,
iface
,
ref
);
if
(
!
ref
)
if
(
!
ref
)
heap_
free
(
factory
);
free
(
factory
);
return
ref
;
return
ref
;
}
}
...
@@ -289,7 +288,7 @@ static HRESULT factory_constructor(const struct class_info *info, REFIID riid, v
...
@@ -289,7 +288,7 @@ static HRESULT factory_constructor(const struct class_info *info, REFIID riid, v
class_factory
*
factory
;
class_factory
*
factory
;
HRESULT
hr
;
HRESULT
hr
;
factory
=
heap_
alloc
(
sizeof
(
*
factory
));
factory
=
m
alloc
(
sizeof
(
*
factory
));
if
(
!
factory
)
return
E_OUTOFMEMORY
;
if
(
!
factory
)
return
E_OUTOFMEMORY
;
factory
->
IClassFactory_iface
.
lpVtbl
=
&
factory_vtbl
;
factory
->
IClassFactory_iface
.
lpVtbl
=
&
factory_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