texinfo-commits
[Top][All Lists]
Advanced

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

[8328] parsetexi update


From: gavinsmith0123
Subject: [8328] parsetexi update
Date: Thu, 18 Oct 2018 14:41:49 -0400 (EDT)

Revision: 8328
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=8328
Author:   gavin
Date:     2018-10-18 14:41:49 -0400 (Thu, 18 Oct 2018)
Log Message:
-----------
parsetexi update

Modified Paths:
--------------
    trunk/tp/Texinfo/XS/parsetexi/end_line.c
    trunk/tp/Texinfo/XS/parsetexi/indices.c

Modified: trunk/tp/Texinfo/XS/parsetexi/end_line.c
===================================================================
--- trunk/tp/Texinfo/XS/parsetexi/end_line.c    2018-10-18 13:26:53 UTC (rev 
8327)
+++ trunk/tp/Texinfo/XS/parsetexi/end_line.c    2018-10-18 18:41:49 UTC (rev 
8328)
@@ -1969,7 +1969,7 @@
           if (current->contents.number == 0)
             {
               current = current->parent;
-              pop_element_from_contents (current);
+              destroy_element (pop_element_from_contents (current));
             }
           else
             current = current->parent;

Modified: trunk/tp/Texinfo/XS/parsetexi/indices.c
===================================================================
--- trunk/tp/Texinfo/XS/parsetexi/indices.c     2018-10-18 13:26:53 UTC (rev 
8327)
+++ trunk/tp/Texinfo/XS/parsetexi/indices.c     2018-10-18 18:41:49 UTC (rev 
8328)
@@ -134,7 +134,7 @@
   for (i = 0; i < idx->index_number; i++)
     {
       ie = &idx->index_entries[i];
-      if (ie->content->parent_type == route_not_in_tree)
+      if (ie->content && ie->content->parent_type == route_not_in_tree)
         destroy_element (ie->content);
     }
   free (idx->name);




reply via email to

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