Adam Martinson : msxml3/domdoc: Add a ref to the schema cache in copy_properties().
Alexandre Julliard
julliard at winehq.org
Wed Dec 1 12:56:45 CST 2010
Module: wine
Branch: master
Commit: a4b0152c27a040bf956ecad927eb5e05921cd546
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a4b0152c27a040bf956ecad927eb5e05921cd546
Author: Adam Martinson <amartinson at codeweavers.com>
Date: Tue Nov 30 10:41:19 2010 -0600
msxml3/domdoc: Add a ref to the schema cache in copy_properties().
---
dlls/msxml3/domdoc.c | 2 ++
dlls/msxml3/schema.c | 1 -
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/msxml3/domdoc.c b/dlls/msxml3/domdoc.c
index 27f6a9f..dbc9b75 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 fa609a9..e262f2e 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
*/
More information about the wine-cvs
mailing list