Commit a4b0152c authored by Adam Martinson's avatar Adam Martinson Committed by Alexandre Julliard

msxml3/domdoc: Add a ref to the schema cache in copy_properties().

parent f45aeb4a
......@@ -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 );
......
......@@ -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
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment