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

This commit is contained in:
Adam Martinson 2010-11-30 10:41:19 -06:00 committed by Alexandre Julliard
parent f45aeb4abe
commit a4b0152c27
2 changed files with 2 additions and 1 deletions

View File

@ -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 );

View File

@ -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
*/