texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/Texinfo/XS/convert/convert_html.c (html_free


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/XS/convert/convert_html.c (html_free_converter): remove the two duplications of html_reset_converter code, they are not useful as html_reset_converter should always be called.
Date: Fri, 04 Oct 2024 18:32:40 -0400

This is an automated email from the git hooks/post-receive script.

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new d0eb745fe9 * tp/Texinfo/XS/convert/convert_html.c 
(html_free_converter): remove the two duplications of html_reset_converter 
code, they are not useful as html_reset_converter should always be called.
d0eb745fe9 is described below

commit d0eb745fe9f071be9e9a57273cf73e9c5975fc57
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Wed Aug 14 20:26:45 2024 +0200

    * tp/Texinfo/XS/convert/convert_html.c (html_free_converter): remove
    the two duplications of html_reset_converter code, they are not useful
    as html_reset_converter should always be called.
---
 ChangeLog                            | 6 ++++++
 tp/Texinfo/XS/convert/convert_html.c | 5 -----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ea9a2837e6..124a465081 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,12 @@
        * tp/Texinfo/XS/convert/convert_html.c (html_command_description):
        call html_get_target instead of find_element_target.
 
+2024-08-14  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/XS/convert/convert_html.c (html_free_converter): remove
+       the two duplications of html_reset_converter code, they are not useful
+       as html_reset_converter should always be called.
+
 2024-08-14  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/XS/convert/html_prepare_converter.h: get declaration of
diff --git a/tp/Texinfo/XS/convert/convert_html.c 
b/tp/Texinfo/XS/convert/convert_html.c
index d7e2c6da76..61ecad81cb 100644
--- a/tp/Texinfo/XS/convert/convert_html.c
+++ b/tp/Texinfo/XS/convert/convert_html.c
@@ -13927,9 +13927,6 @@ html_free_converter (CONVERTER *self)
   EXPLAINED_COMMAND_TYPE_LIST *type_explanations
    = &self->shared_conversion_state.explained_commands;
 
-  /* useful only if html_reset_converter was not called previously */
-  reset_translated_special_unit_info_tree (self);
-
   free_special_unit_info_list (&self->customized_special_unit_info);
 
   free_strings_list (&self->customized_special_unit_varieties);
@@ -14220,8 +14217,6 @@ html_free_converter (CONVERTER *self)
 
   free (self->html_document_context.stack);
 
-  /* already cleared if html_clear_converter was called */
-  clear_type_explanations (type_explanations);
   free (type_explanations->list);
 
   free_strings_list (&self->special_unit_varieties);



reply via email to

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