[gxml/gsoc2013] BackedNode.vala: add a TODO about memory usage
- From: Richard Hans Schwarting <rschwart src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gxml/gsoc2013] BackedNode.vala: add a TODO about memory usage
- Date: Sun, 28 Jul 2013 05:32:59 +0000 (UTC)
commit 77e88aec2ed6df42210353ccac69b947a318a0c2
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 098b19e..b81cbc7 100644
--- a/gxml/BackedNode.vala
+++ b/gxml/BackedNode.vala
@@ -46,6 +46,7 @@ namespace GXml {
// Save the correspondence between this Xml.Node* and its Node
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]