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
e2111518
Commit
e2111518
authored
Nov 14, 2010
by
Paul Vriens
Committed by
Alexandre Julliard
Nov 15, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi/tests: Cleanup properly on Win9x.
parent
dc2306de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
install.c
dlls/msi/tests/install.c
+2
-1
No files found.
dlls/msi/tests/install.c
View file @
e2111518
...
...
@@ -5896,7 +5896,6 @@ static void test_icon_table(void)
record
=
MsiCreateRecord
(
1
);
res
=
MsiRecordSetStream
(
record
,
1
,
"icon.ico"
);
ok
(
res
==
ERROR_SUCCESS
,
"Failed to add stream data to record: %d
\n
"
,
res
);
DeleteFile
(
"icon.ico"
);
query
=
"INSERT INTO `Icon` (`Name`, `Data`) VALUES ('testicon', ?)"
;
res
=
run_query
(
hdb
,
record
,
query
);
...
...
@@ -5904,6 +5903,8 @@ static void test_icon_table(void)
res
=
MsiCloseHandle
(
record
);
ok
(
res
==
ERROR_SUCCESS
,
"Failed to close record handle: %d
\n
"
,
res
);
/* Delete the icon file after the handle is closed to make sure it's deleted on Win9x */
DeleteFileA
(
"icon.ico"
);
res
=
MsiDatabaseCommit
(
hdb
);
ok
(
res
==
ERROR_SUCCESS
,
"Failed to commit database: %d
\n
"
,
res
);
res
=
MsiCloseHandle
(
hdb
);
...
...
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