Difference between revisions of "Talk:Networking"

From Lazarus wiki
Jump to navigationJump to search
Line 9: Line 9:
  
 
: Sure, fell free to do so. --[[User:Sekelsenmat|Sekelsenmat]] 23:00, 21 February 2007 (CET)
 
: Sure, fell free to do so. --[[User:Sekelsenmat|Sekelsenmat]] 23:00, 21 February 2007 (CET)
 +
 +
:: I just did that. --[[User:Sekelsenmat|Sekelsenmat]] 23:39, 19 June 2007 (CEST)

Revision as of 23:39, 19 June 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

Sure, fell free to do so. --Sekelsenmat 23:00, 21 February 2007 (CET)
I just did that. --Sekelsenmat 23:39, 19 June 2007 (CEST)