[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[5618] forget_window_and_nodes
From: |
Gavin D. Smith |
Subject: |
[5618] forget_window_and_nodes |
Date: |
Sat, 31 May 2014 20:12:31 +0000 |
Revision: 5618
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5618
Author: gavin
Date: 2014-05-31 20:12:30 +0000 (Sat, 31 May 2014)
Log Message:
-----------
forget_window_and_nodes
Modified Paths:
--------------
trunk/ChangeLog
trunk/info/session.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2014-05-31 20:03:39 UTC (rev 5617)
+++ trunk/ChangeLog 2014-05-31 20:12:30 UTC (rev 5618)
@@ -1,5 +1,10 @@
2014-05-31 Gavin Smith <address@hidden>
+ * info/session.c (forget_windows_and_nodes): Don't free node
+ structures in a window's history when it is deleted.
+
+2014-05-31 Gavin Smith <address@hidden>
+
* info/window.h (WINDOW): Fields added from INFO_WINDOW:
nodes, pagetops, points, current, nodes_index, nodes_slots. Field
'window' not added.
Modified: trunk/info/session.c
===================================================================
--- trunk/info/session.c 2014-05-31 20:03:39 UTC (rev 5617)
+++ trunk/info/session.c 2014-05-31 20:12:30 UTC (rev 5618)
@@ -363,17 +363,7 @@
{
int i;
- /* Free the node structures which held onto internal node contents
- here. This doesn't free the contents; we have a garbage collector
- which does that. */
- for (i = 0; win->nodes[i]; i++)
- if (internal_info_node_p (win->nodes[i]))
- {
- info_free_references (win->nodes[i]->references);
- free (win->nodes[i]);
- }
free (win->nodes);
-
free (win->pagetops);
free (win->points);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [5618] forget_window_and_nodes,
Gavin D. Smith <=