[xml] namespace attached to document freed at document free time?
- From: Chris Ryland <cpr emsoftware com>
- To: XML List <xml gnome org>
- Subject: [xml] namespace attached to document freed at document free time?
- Date: Sat, 7 Jun 2003 11:18:56 -0400
If I create a name space, e.g.,
ns = xmlNewNs(np, BAD_CAST "http:...", NULL)
and a document
doc = xmlNewDoc(BAD_CAST "1.0");
and use ns when creating nodes in that document (xmlNewNode(ns, ...)),
when I later free the document, the namespace also seems to be freed
automatically. (Or at least, when I free that namespace before freeing
the document, I get malloc() debug messages about double freeing.)
Is this true?
Cheers!
--Chris Ryland / Em Software, Inc. / www.emsoftware.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]