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
fdc3e506
Commit
fdc3e506
authored
Nov 01, 2023
by
Alex Henrie
Committed by
Alexandre Julliard
Nov 02, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sechost: Use CRT allocation functions.
parent
faae2162
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
security.c
dlls/sechost/security.c
+2
-3
service.c
dlls/sechost/service.c
+0
-0
No files found.
dlls/sechost/security.c
View file @
fdc3e506
...
...
@@ -28,7 +28,6 @@
#include "iads.h"
#include "wine/debug.h"
#include "wine/heap.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
security
);
...
...
@@ -1080,7 +1079,7 @@ static BOOL parse_sd( const WCHAR *string, SECURITY_DESCRIPTOR_RELATIVE *sd, DWO
*
size
=
sizeof
(
SECURITY_DESCRIPTOR_RELATIVE
);
tok
=
heap_
alloc
(
(
wcslen
(
string
)
+
1
)
*
sizeof
(
WCHAR
)
);
tok
=
m
alloc
(
(
wcslen
(
string
)
+
1
)
*
sizeof
(
WCHAR
)
);
if
(
!
tok
)
{
SetLastError
(
ERROR_NOT_ENOUGH_MEMORY
);
...
...
@@ -1208,7 +1207,7 @@ static BOOL parse_sd( const WCHAR *string, SECURITY_DESCRIPTOR_RELATIVE *sd, DWO
ret
=
TRUE
;
out:
heap_
free
(
tok
);
free
(
tok
);
return
ret
;
}
...
...
dlls/sechost/service.c
View file @
fdc3e506
This diff is collapsed.
Click to expand it.
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