Difference between revisions of "Talk:Networking"

From Lazarus wiki
Jump to navigationJump to search
(Location of this xml tutorial)
Line 6: Line 6:
 
== Location of this xml tutorial ==
 
== Location of this xml tutorial ==
  
I don't think an xml tutorial should be located at /Networking, what about moving it to /Xml ? Lepidosteus
+
I don't think an xml tutorial should be located at /Networking, what about moving it to /Xml ? [[User:Lepidosteus|Lepidosteus]]

Revision as of 11:03, 11 February 2007

Just a quick glance at the article: it accesses ChildNodes a lot, but it doesn't free it anywhere. The code will cause memory leaks. If someone has time, this should be fixed --- accessed ChildNodes should be saved into a variable, and at the end freed by ChildNodes.Release. This is documented by short comment

 // Free NodeList with TDOMNodeList.Release!
 function GetChildNodes: TDOMNodeList;

in the dom.pp sources. The memory leak (and the fact that calling .Release when needed helps) can be easily seen by heaptrc. Michalis 00:37, 28 November 2006 (CET)

Location of this xml tutorial

I don't think an xml tutorial should be located at /Networking, what about moving it to /Xml ? Lepidosteus