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
a628412f
Commit
a628412f
authored
Jun 22, 2017
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jun 22, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user.exe16: Remove redundant HeapReAlloc.
Signed-off-by:
Dmitry Timoshkov
<
dmitry@baikal.ru
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8c3ed829
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
user.c
dlls/user.exe16/user.c
+0
-3
No files found.
dlls/user.exe16/user.c
View file @
a628412f
...
@@ -3288,9 +3288,6 @@ DWORD WINAPI FormatMessage16(
...
@@ -3288,9 +3288,6 @@ DWORD WINAPI FormatMessage16(
*
t
=
'\0'
;
*
t
=
'\0'
;
}
}
talloced
=
strlen
(
target
)
+
1
;
talloced
=
strlen
(
target
)
+
1
;
if
(
nSize
&&
talloced
<
nSize
)
{
target
=
HeapReAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
target
,
nSize
);
}
TRACE
(
"-- %s
\n
"
,
debugstr_a
(
target
));
TRACE
(
"-- %s
\n
"
,
debugstr_a
(
target
));
if
(
dwFlags
&
FORMAT_MESSAGE_ALLOCATE_BUFFER
)
{
if
(
dwFlags
&
FORMAT_MESSAGE_ALLOCATE_BUFFER
)
{
/* nSize is the MINIMUM size */
/* nSize is the MINIMUM size */
...
...
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