texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * convert/converter.c (free_generic_converter): c


From: Patrice Dumas
Subject: branch master updated: * convert/converter.c (free_generic_converter): call destroy_text_options only if convert_text_options were set.
Date: Thu, 03 Oct 2024 17:30:19 -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 85f9eaab52 * convert/converter.c (free_generic_converter): call 
destroy_text_options only if convert_text_options were set.
85f9eaab52 is described below

commit 85f9eaab5216d70b892326d5774f4ad81b57d000
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Fri Aug 9 09:36:52 2024 +0200

    * convert/converter.c (free_generic_converter): call
    destroy_text_options only if convert_text_options were set.
---
 ChangeLog                         | 5 +++++
 tp/Texinfo/XS/convert/converter.c | 3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index a431f6780b..c914e45d46 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-08-09  Patrice Dumas  <pertusus@free.fr>
+
+       * convert/converter.c (free_generic_converter): call
+       destroy_text_options only if convert_text_options were set.
+
 2024-08-09  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/XS/Makefile.am (libtexinfo_convert_la_SOURCES),
diff --git a/tp/Texinfo/XS/convert/converter.c 
b/tp/Texinfo/XS/convert/converter.c
index 875346f457..3fd43ebd8f 100644
--- a/tp/Texinfo/XS/convert/converter.c
+++ b/tp/Texinfo/XS/convert/converter.c
@@ -1657,7 +1657,8 @@ free_generic_converter (CONVERTER *self)
   free_output_files_information (&self->output_files_information);
   free_output_unit_files (&self->output_unit_files);
 
-  destroy_text_options (self->convert_text_options);
+  if (self->convert_text_options)
+    destroy_text_options (self->convert_text_options);
 
   wipe_error_message_list (&self->error_messages);
 



reply via email to

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