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
6a95b93e
Commit
6a95b93e
authored
Jul 09, 2007
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Jul 10, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advpack+setupapi: Remove unneeded checks before SetupCloseInfFile.
parent
8be4e853
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
install.c
dlls/advpack/install.c
+1
-2
parser.c
dlls/setupapi/tests/parser.c
+1
-1
No files found.
dlls/advpack/install.c
View file @
6a95b93e
...
...
@@ -512,8 +512,7 @@ static HRESULT install_init(LPCWSTR inf_filename, LPCWSTR install_sec,
/* release the install instance information */
static
void
install_release
(
const
ADVInfo
*
info
)
{
if
(
info
->
hinf
&&
info
->
hinf
!=
INVALID_HANDLE_VALUE
)
SetupCloseInfFile
(
info
->
hinf
);
SetupCloseInfFile
(
info
->
hinf
);
HeapFree
(
GetProcessHeap
(),
0
,
info
->
inf_path
);
HeapFree
(
GetProcessHeap
(),
0
,
info
->
inf_filename
);
...
...
dlls/setupapi/tests/parser.c
View file @
6a95b93e
...
...
@@ -167,7 +167,7 @@ static void test_invalid_files(void)
ok
(
hinf
!=
INVALID_HANDLE_VALUE
,
"file %u: Open failed
\n
"
,
i
);
ok
(
err
==
0
,
"file %u: Error code set to %u
\n
"
,
i
,
err
);
}
if
(
hinf
!=
INVALID_HANDLE_VALUE
)
SetupCloseInfFile
(
hinf
);
SetupCloseInfFile
(
hinf
);
}
}
...
...
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