diff --git a/dlls/msxml3/domdoc.c b/dlls/msxml3/domdoc.c index 27f6a9f4203..dbc9b759dfa 100644 --- a/dlls/msxml3/domdoc.c +++ b/dlls/msxml3/domdoc.c @@ -294,6 +294,8 @@ static domdoc_properties* copy_properties(domdoc_properties const* properties) pcopy->version = properties->version; pcopy->preserving = properties->preserving; pcopy->schemaCache = properties->schemaCache; + if (pcopy->schemaCache) + IXMLDOMSchemaCollection2_AddRef(pcopy->schemaCache); pcopy->XPath = properties->XPath; pcopy->selectNsStr_len = properties->selectNsStr_len; list_init( &pcopy->selectNsList ); diff --git a/dlls/msxml3/schema.c b/dlls/msxml3/schema.c index fa609a9bc17..e262f2e2ee7 100644 --- a/dlls/msxml3/schema.c +++ b/dlls/msxml3/schema.c @@ -38,7 +38,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(msxml); /* We use a chained hashtable, which can hold any number of schemas - * TODO: versioned constructor * TODO: grow/shrink hashtable depending on load factor * TODO: implement read-only where appropriate */