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
6771fa22
Commit
6771fa22
authored
Nov 05, 2015
by
Alex Henrie
Committed by
Alexandre Julliard
Nov 06, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Remove redundant check for buf's existence.
Signed-off-by:
Alex Henrie
<
alexhenrie24@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4a3065c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
edit.c
dlls/user32/edit.c
+2
-3
No files found.
dlls/user32/edit.c
View file @
6771fa22
...
...
@@ -2577,7 +2577,7 @@ static void EDIT_EM_ReplaceSel(EDITSTATE *es, BOOL can_undo, LPCWSTR lpsz_replac
LPWSTR
p
;
HRGN
hrgn
=
0
;
LPWSTR
buf
=
NULL
;
UINT
bufl
=
0
;
UINT
bufl
;
TRACE
(
"%s, can_undo %d, send_update %d
\n
"
,
debugstr_w
(
lpsz_replace
),
can_undo
,
send_update
);
...
...
@@ -2726,8 +2726,7 @@ static void EDIT_EM_ReplaceSel(EDITSTATE *es, BOOL can_undo, LPCWSTR lpsz_replac
EDIT_EM_EmptyUndoBuffer
(
es
);
}
if
(
bufl
)
HeapFree
(
GetProcessHeap
(),
0
,
buf
);
HeapFree
(
GetProcessHeap
(),
0
,
buf
);
s
+=
strl
;
...
...
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