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
9d7e045c
Commit
9d7e045c
authored
Nov 20, 2022
by
Alex Henrie
Committed by
Alexandre Julliard
Nov 21, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adsldp: Use standard C functions for memory allocation in adsldp.c.
parent
93dcfef0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
41 deletions
+33
-41
adsldp.c
dlls/adsldp/adsldp.c
+33
-33
adsldp_private.h
dlls/adsldp/adsldp_private.h
+0
-8
No files found.
dlls/adsldp/adsldp.c
View file @
9d7e045c
This diff is collapsed.
Click to expand it.
dlls/adsldp/adsldp_private.h
View file @
9d7e045c
...
...
@@ -21,14 +21,6 @@
#include "wine/heap.h"
static
inline
WCHAR
*
strdupW
(
const
WCHAR
*
src
)
{
WCHAR
*
dst
;
if
(
!
src
)
return
NULL
;
if
((
dst
=
heap_alloc
((
wcslen
(
src
)
+
1
)
*
sizeof
(
WCHAR
))))
wcscpy
(
dst
,
src
);
return
dst
;
}
static
inline
LPWSTR
strnUtoW
(
LPCSTR
str
,
DWORD
inlen
,
DWORD
*
outlen
)
{
LPWSTR
ret
=
NULL
;
...
...
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