texinfo-commits
[Top][All Lists]
Advanced

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

[7662] info_intuit_options_node


From: gavinsmith0123
Subject: [7662] info_intuit_options_node
Date: Thu, 2 Feb 2017 17:52:58 -0500 (EST)

Revision: 7662
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7662
Author:   gavin
Date:     2017-02-02 17:52:58 -0500 (Thu, 02 Feb 2017)
Log Message:
-----------
info_intuit_options_node

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/info/session.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2017-02-02 22:29:14 UTC (rev 7661)
+++ trunk/ChangeLog     2017-02-02 22:52:58 UTC (rev 7662)
@@ -1,5 +1,11 @@
 2017-02-02  Gavin Smith  <address@hidden>
 
+       * info/session.c (info_intuit_options_node): Do not free a 
+       pointer to a node record if following a menu entry to the next 
+       node failed.  (Report from Hans-Bernhard Br\xF6ker.)
+
+2017-02-02  Gavin Smith  <address@hidden>
+
        * info/info.c (add_initial_nodes): Avoid a condition on an 
        uninitialized value.  (Report from Hans-Bernhard Br\xF6ker.)
 

Modified: trunk/info/session.c
===================================================================
--- trunk/info/session.c        2017-02-02 22:29:14 UTC (rev 7661)
+++ trunk/info/session.c        2017-02-02 22:52:58 UTC (rev 7662)
@@ -3496,9 +3496,9 @@
       {
         NODE *node2;
         node2 = info_get_node (entry->filename, entry->nodename);
-        free_history_node (node);
         if (!node2)
           break;
+        free_history_node (node);
         node = node2;
       }
     }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]