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
b42f9df9
Commit
b42f9df9
authored
Aug 16, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Aug 16, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Fix a couple of memory leaks in the test code.
parent
36dd205f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
db.c
dlls/msi/tests/db.c
+2
-0
No files found.
dlls/msi/tests/db.c
View file @
b42f9df9
...
@@ -1196,6 +1196,7 @@ static void test_markers(void)
...
@@ -1196,6 +1196,7 @@ static void test_markers(void)
query
=
"CREATE TABLE `Table` ( `One` SHORT NOT NULL, `Two` CHAR(255) PRIMARY KEY `One`)"
;
query
=
"CREATE TABLE `Table` ( `One` SHORT NOT NULL, `Two` CHAR(255) PRIMARY KEY `One`)"
;
r
=
run_query
(
hdb
,
0
,
query
);
r
=
run_query
(
hdb
,
0
,
query
);
ok
(
r
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %d
\n
"
,
r
);
ok
(
r
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %d
\n
"
,
r
);
MsiCloseHandle
(
rec
);
/* try table name as marker */
/* try table name as marker */
rec
=
MsiCreateRecord
(
1
);
rec
=
MsiCreateRecord
(
1
);
...
@@ -1351,6 +1352,7 @@ static void test_markers(void)
...
@@ -1351,6 +1352,7 @@ static void test_markers(void)
query
=
"INSERT INTO `Table` ( `One`, `Two` ) VALUES ( ?, ? )"
;
query
=
"INSERT INTO `Table` ( `One`, `Two` ) VALUES ( ?, ? )"
;
r
=
run_query
(
hdb
,
rec
,
query
);
r
=
run_query
(
hdb
,
rec
,
query
);
ok
(
r
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %d
\n
"
,
r
);
ok
(
r
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %d
\n
"
,
r
);
MsiCloseHandle
(
rec
);
MsiCloseHandle
(
hdb
);
MsiCloseHandle
(
hdb
);
DeleteFileA
(
msifile
);
DeleteFileA
(
msifile
);
...
...
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