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
2b8d9764
Commit
2b8d9764
authored
Feb 21, 2019
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Feb 22, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust: Remove redundant not-NULL checks (coccinellery).
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e4f66b04
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
14 deletions
+10
-14
wintrust_main.c
dlls/wintrust/wintrust_main.c
+10
-14
No files found.
dlls/wintrust/wintrust_main.c
View file @
2b8d9764
...
...
@@ -309,13 +309,11 @@ static LONG WINTRUST_DefaultVerify(HWND hwnd, GUID *actionID,
goto
done
;
error:
if
(
provData
)
{
WINTRUST_Free
(
provData
->
padwTrustStepErrors
);
WINTRUST_Free
(
provData
->
u
.
pPDSip
);
WINTRUST_Free
(
provData
->
psPfns
);
WINTRUST_Free
(
provData
);
}
WINTRUST_Free
(
provData
->
padwTrustStepErrors
);
WINTRUST_Free
(
provData
->
u
.
pPDSip
);
WINTRUST_Free
(
provData
->
psPfns
);
WINTRUST_Free
(
provData
);
done:
TRACE
(
"returning %08x
\n
"
,
err
);
return
err
;
...
...
@@ -502,13 +500,11 @@ static LONG WINTRUST_CertVerify(HWND hwnd, GUID *actionID,
goto
done
;
error:
if
(
provData
)
{
WINTRUST_Free
(
provData
->
padwTrustStepErrors
);
WINTRUST_Free
(
provData
->
u
.
pPDSip
);
WINTRUST_Free
(
provData
->
psPfns
);
WINTRUST_Free
(
provData
);
}
WINTRUST_Free
(
provData
->
padwTrustStepErrors
);
WINTRUST_Free
(
provData
->
u
.
pPDSip
);
WINTRUST_Free
(
provData
->
psPfns
);
WINTRUST_Free
(
provData
);
done:
TRACE
(
"returning %08x
\n
"
,
err
);
return
err
;
...
...
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