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
b2e4ce14
Commit
b2e4ce14
authored
Feb 18, 2022
by
Francois Gouget
Committed by
Alexandre Julliard
Feb 18, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ncrypt: Add trailing linefeeds to ERR() messages.
Signed-off-by:
Francois Gouget
<
fgouget@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9be9c327
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
main.c
dlls/ncrypt/main.c
+4
-4
No files found.
dlls/ncrypt/main.c
View file @
b2e4ce14
...
...
@@ -190,7 +190,7 @@ static SECURITY_STATUS set_object_property(struct object *object, const WCHAR *n
{
if
(
!
(
object
->
properties
=
malloc
(
sizeof
(
*
property
))))
{
ERR
(
"Error allocating memory."
);
ERR
(
"Error allocating memory.
\n
"
);
return
NTE_NO_MEMORY
;
}
property
=
&
object
->
properties
[
object
->
num_properties
++
];
...
...
@@ -200,7 +200,7 @@ static SECURITY_STATUS set_object_property(struct object *object, const WCHAR *n
struct
object_property
*
tmp
;
if
(
!
(
tmp
=
realloc
(
object
->
properties
,
sizeof
(
*
property
)
*
(
object
->
num_properties
+
1
))))
{
ERR
(
"Error allocating memory."
);
ERR
(
"Error allocating memory.
\n
"
);
return
NTE_NO_MEMORY
;
}
object
->
properties
=
tmp
;
...
...
@@ -210,7 +210,7 @@ static SECURITY_STATUS set_object_property(struct object *object, const WCHAR *n
memset
(
property
,
0
,
sizeof
(
*
property
));
if
(
!
(
property
->
key
=
malloc
((
lstrlenW
(
name
)
+
1
)
*
sizeof
(
WCHAR
))))
{
ERR
(
"Error allocating memory."
);
ERR
(
"Error allocating memory.
\n
"
);
return
NTE_NO_MEMORY
;
}
...
...
@@ -218,7 +218,7 @@ static SECURITY_STATUS set_object_property(struct object *object, const WCHAR *n
property
->
value_size
=
value_size
;
if
(
!
(
property
->
value
=
malloc
(
value_size
)))
{
ERR
(
"Error allocating memory."
);
ERR
(
"Error allocating memory.
\n
"
);
free
(
property
->
key
);
property
->
key
=
NULL
;
return
NTE_NO_MEMORY
;
...
...
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