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
c2c37f8c
Commit
c2c37f8c
authored
Apr 25, 2014
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 25, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Fix a leak when trying to add to readonly collection (Valgrind).
parent
2a8d4a03
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
schema.c
dlls/msxml3/schema.c
+4
-1
No files found.
dlls/msxml3/schema.c
View file @
c2c37f8c
...
...
@@ -1193,11 +1193,14 @@ static HRESULT WINAPI schema_cache_Invoke(IXMLDOMSchemaCollection2* iface,
static
HRESULT
WINAPI
schema_cache_add
(
IXMLDOMSchemaCollection2
*
iface
,
BSTR
uri
,
VARIANT
var
)
{
schema_cache
*
This
=
impl_from_IXMLDOMSchemaCollection2
(
iface
);
xmlChar
*
name
=
uri
?
xmlchar_from_wchar
(
uri
)
:
xmlchar_from_wchar
(
emptyW
);
xmlChar
*
name
;
TRACE
(
"(%p)->(%s %s)
\n
"
,
This
,
debugstr_w
(
uri
),
debugstr_variant
(
&
var
));
if
(
This
->
read_only
)
return
E_FAIL
;
name
=
uri
?
xmlchar_from_wchar
(
uri
)
:
xmlchar_from_wchar
(
emptyW
);
switch
(
V_VT
(
&
var
))
{
case
VT_NULL
:
...
...
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