[gxml] BackedNode.vala: add a TODO about memory usage



commit 9cff013507b64053d9f32a7f9160cefa449f709e
Author: Richard Schwarting <aquarichy gmail com>
Date:   Sun Jul 28 01:30:11 2013 -0400

    BackedNode.vala: add a TODO about memory usage

 gxml/BackedNode.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gxml/BackedNode.vala b/gxml/BackedNode.vala
index 32a1f09..20dc844 100644
--- a/gxml/BackedNode.vala
+++ b/gxml/BackedNode.vala
@@ -46,6 +46,7 @@ namespace GXml {
                        // Save the correspondence between this Xml.Node* and its DomNode
                        owner.node_dict.insert (node, this);
                        // TODO: Consider checking whether the Xml.Node* is already recorded.  It shouldn't 
be.
+                       // TODO: BackedNodes' memory are freed when their owner document is freed; let's make 
sure that when we move a node between documents, that we make sure they'll still be freed
                }
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]