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
fa2c5092
Commit
fa2c5092
authored
Mar 13, 2014
by
Jactry Zeng
Committed by
Alexandre Julliard
Mar 13, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20/tests: Fix a SysAllocString leak.
parent
02af7440
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
richole.c
dlls/riched20/tests/richole.c
+3
-1
No files found.
dlls/riched20/tests/richole.c
View file @
fa2c5092
...
...
@@ -190,7 +190,7 @@ static void test_ITextDocument_Open(void)
int
tomNumSingle
=
sizeof
(
tomConstantsSingle
)
/
sizeof
(
tomConstantsSingle
[
0
]);
int
tomNumMulti
=
sizeof
(
tomConstantsMulti
)
/
sizeof
(
tomConstantsMulti
[
0
]);
int
i
;
VariantInit
(
&
testfile
);
V_VT
(
&
testfile
)
=
VT_BSTR
;
V_BSTR
(
&
testfile
)
=
SysAllocString
(
filename
);
...
...
@@ -378,6 +378,8 @@ static void test_ITextDocument_Open(void)
todo_wine
ok
(
result
==
0
,
"ITextDocument_Open: Test UTF-16 set wrong text: Result: %s
\n
"
,
wine_dbgstr_w
(
bufUnicode
));
release_interfaces
(
&
w
,
&
reOle
,
&
txtDoc
,
&
txtSel
);
DeleteFileW
(
filename
);
VariantClear
(
&
testfile
);
}
START_TEST
(
richole
)
...
...
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