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
1b95f609
Commit
1b95f609
authored
Oct 05, 2006
by
James Hawkins
Committed by
Alexandre Julliard
Oct 06, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Remove redundant NULL checks before pdb_free (found by Smatch).
parent
ca118989
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
msc.c
dlls/dbghelp/msc.c
+3
-3
No files found.
dlls/dbghelp/msc.c
View file @
1b95f609
...
...
@@ -1746,10 +1746,10 @@ static void pdb_free_lookup(const struct pdb_lookup* pdb_lookup)
switch
(
pdb_lookup
->
kind
)
{
case
PDB_JG
:
if
(
pdb_lookup
->
u
.
jg
.
toc
)
pdb_free
(
pdb_lookup
->
u
.
jg
.
toc
);
pdb_free
(
pdb_lookup
->
u
.
jg
.
toc
);
break
;
case
PDB_DS
:
if
(
pdb_lookup
->
u
.
ds
.
toc
)
pdb_free
(
pdb_lookup
->
u
.
ds
.
toc
);
pdb_free
(
pdb_lookup
->
u
.
ds
.
toc
);
break
;
}
}
...
...
@@ -2193,7 +2193,7 @@ static BOOL pdb_process_internal(const struct process* pcs,
leave:
/* Cleanup */
if
(
symbols_image
)
pdb_free
(
symbols_image
);
pdb_free
(
symbols_image
);
pdb_free_lookup
(
pdb_lookup
);
if
(
image
)
UnmapViewOfFile
(
image
);
...
...
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