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
33308a57
Commit
33308a57
authored
Dec 09, 2021
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Dec 09, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Fix possible memory leak (Coverity).
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ac1628c9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
dwarf.c
dlls/dbghelp/dwarf.c
+3
-0
No files found.
dlls/dbghelp/dwarf.c
View file @
33308a57
...
...
@@ -2314,7 +2314,10 @@ static struct symt* dwarf2_parse_subprogram(dwarf2_debug_info_t* di)
* Actual thunks will be created in elf_module from the symbol table
*/
if
(
elf_is_in_thunk_area
(
di
->
unit_ctx
->
module_ctx
->
load_offset
+
addr_ranges
[
0
].
low
,
di
->
unit_ctx
->
module_ctx
->
thunks
)
>=
0
)
{
free
(
addr_ranges
);
return
NULL
;
}
ret_type
=
dwarf2_lookup_type
(
di
);
/* FIXME: assuming C source code */
...
...
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