Commit 65765284 authored by Daniel Veillard's avatar Daniel Veillard
Browse files

removed a memory leak remaining from the switch to a dictionnary for

* xmlschemas.c: removed a memory leak remaining from the switch
  to a dictionnary for string allocations c.f. #130891
Daniel
parent 96b6cd2b
Thu Jan 8 17:57:50 CET 2004 Daniel Veillard <daniel@veillard.com>
* xmlschemas.c: removed a memory leak remaining from the switch
to a dictionnary for string allocations c.f. #130891
Thu Jan 8 17:48:46 CET 2004 Daniel Veillard <daniel@veillard.com>
 
* xmlreader.c: fixing some problem if configured --without-xinclude
......
......@@ -4897,7 +4897,7 @@ xmlSchemaParse(xmlSchemaParserCtxtPtr ctxt)
return (NULL);
}
doc->URL = xmlStrdup(BAD_CAST "in_memory_buffer");
ctxt->URL = xmlStrdup(BAD_CAST "in_memory_buffer");
ctxt->URL = xmlDictLookup(ctxt->dict, BAD_CAST "in_memory_buffer", -1);
} else if (ctxt->doc != NULL) {
doc = ctxt->doc;
} else {
......
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