Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
f712c118
Commit
f712c118
authored
Jan 21, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 21, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Fixed leaks in htmllocation tests (valgrind).
parent
859be0a2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
htmllocation.c
dlls/mshtml/tests/htmllocation.c
+8
-0
No files found.
dlls/mshtml/tests/htmllocation.c
View file @
f712c118
...
...
@@ -131,6 +131,7 @@ static void test_href(IHTMLLocation *loc, const struct location_test *test)
ok
(
str_eq_wa
(
str
,
test
->
href
),
"%s: expected retrieved href to be L
\"
%s
\"
, was: %s
\n
"
,
test
->
name
,
test
->
href
,
wine_dbgstr_w
(
str
));
SysFreeString
(
str
);
}
static
void
test_protocol
(
IHTMLLocation
*
loc
,
const
struct
location_test
*
test
)
...
...
@@ -149,6 +150,7 @@ static void test_protocol(IHTMLLocation *loc, const struct location_test *test)
ok
(
str_eq_wa
(
str
,
test
->
protocol
),
"%s: expected retrieved protocol to be L
\"
%s
\"
, was: %s
\n
"
,
test
->
name
,
test
->
protocol
,
wine_dbgstr_w
(
str
));
SysFreeString
(
str
);
}
static
void
test_host
(
IHTMLLocation
*
loc
,
const
struct
location_test
*
test
)
...
...
@@ -167,6 +169,7 @@ static void test_host(IHTMLLocation *loc, const struct location_test *test)
ok
(
str_eq_wa
(
str
,
test
->
host
),
"%s: expected retrieved host to be L
\"
%s
\"
, was: %s
\n
"
,
test
->
name
,
test
->
host
,
wine_dbgstr_w
(
str
));
SysFreeString
(
str
);
}
static
void
test_hostname
(
IHTMLLocation
*
loc
,
const
struct
location_test
*
test
)
...
...
@@ -185,6 +188,7 @@ static void test_hostname(IHTMLLocation *loc, const struct location_test *test)
ok
(
str_eq_wa
(
str
,
test
->
hostname
),
"%s: expected retrieved hostname to be L
\"
%s
\"
, was: %s
\n
"
,
test
->
name
,
test
->
hostname
,
wine_dbgstr_w
(
str
));
SysFreeString
(
str
);
}
static
void
test_port
(
IHTMLLocation
*
loc
,
const
struct
location_test
*
test
)
...
...
@@ -203,6 +207,7 @@ static void test_port(IHTMLLocation *loc, const struct location_test *test)
ok
(
str_eq_wa
(
str
,
test
->
port
),
"%s: expected retrieved port to be L
\"
%s
\"
, was: %s
\n
"
,
test
->
name
,
test
->
port
,
wine_dbgstr_w
(
str
));
SysFreeString
(
str
);
}
static
void
test_pathname
(
IHTMLLocation
*
loc
,
const
struct
location_test
*
test
)
...
...
@@ -221,6 +226,7 @@ static void test_pathname(IHTMLLocation *loc, const struct location_test *test)
ok
(
str_eq_wa
(
str
,
test
->
pathname
),
"%s: expected retrieved pathname to be L
\"
%s
\"
, was: %s
\n
"
,
test
->
name
,
test
->
pathname
,
wine_dbgstr_w
(
str
));
SysFreeString
(
str
);
}
static
void
test_search
(
IHTMLLocation
*
loc
,
const
struct
location_test
*
test
)
...
...
@@ -239,6 +245,7 @@ static void test_search(IHTMLLocation *loc, const struct location_test *test)
ok
(
str_eq_wa
(
str
,
test
->
search
),
"%s: expected retrieved search to be L
\"
%s
\"
, was: %s
\n
"
,
test
->
name
,
test
->
search
,
wine_dbgstr_w
(
str
));
SysFreeString
(
str
);
}
static
void
test_hash
(
IHTMLLocation
*
loc
,
const
struct
location_test
*
test
)
...
...
@@ -257,6 +264,7 @@ static void test_hash(IHTMLLocation *loc, const struct location_test *test)
ok
(
str_eq_wa
(
str
,
test
->
hash
),
"%s: expected retrieved hash to be L
\"
%s
\"
, was: %s
\n
"
,
test
->
name
,
test
->
hash
,
wine_dbgstr_w
(
str
));
SysFreeString
(
str
);
}
static
void
perform_test
(
const
struct
location_test
*
test
)
...
...
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