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
2f7885d9
Commit
2f7885d9
authored
Dec 04, 2012
by
Andrew Talbot
Committed by
Alexandre Julliard
Dec 05, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Do not call HeapFree() with address of stack memory.
parent
2cb13723
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
sysparams.c
dlls/user32/sysparams.c
+0
-2
No files found.
dlls/user32/sysparams.c
View file @
2f7885d9
...
...
@@ -977,7 +977,6 @@ static BOOL get_path_entry( union sysparam_all_entry *entry, UINT int_param, voi
if
(
load_entry
(
&
entry
->
hdr
,
buffer
,
sizeof
(
buffer
)
))
lstrcpynW
(
entry
->
path
.
path
,
buffer
,
MAX_PATH
);
HeapFree
(
GetProcessHeap
(),
0
,
buffer
);
}
lstrcpynW
(
ptr_param
,
entry
->
path
.
path
,
int_param
);
return
TRUE
;
...
...
@@ -996,7 +995,6 @@ static BOOL set_path_entry( union sysparam_all_entry *entry, UINT int_param, voi
strcpyW
(
entry
->
path
.
path
,
buffer
);
entry
->
hdr
.
loaded
=
TRUE
;
}
HeapFree
(
GetProcessHeap
(),
0
,
buffer
);
return
ret
;
}
...
...
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