[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/XS/convert/convert_html.c (html_prep
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/Texinfo/XS/convert/convert_html.c (html_prepare_converted_output_info, html_do_js_files): free default_document_language and preamble_document_language. Free jsdir. |
Date: |
Tue, 01 Oct 2024 12:13:45 -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 be22884d1d * tp/Texinfo/XS/convert/convert_html.c
(html_prepare_converted_output_info, html_do_js_files): free
default_document_language and preamble_document_language. Free jsdir.
be22884d1d is described below
commit be22884d1d67e3a3a285d1994cda4acad04b39da
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Wed Jul 24 23:38:03 2024 +0200
* tp/Texinfo/XS/convert/convert_html.c
(html_prepare_converted_output_info, html_do_js_files): free
default_document_language and preamble_document_language. Free jsdir.
---
ChangeLog | 6 ++++++
tp/Texinfo/XS/convert/convert_html.c | 11 ++++++++++-
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 6459e5392e..12b430aedd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,12 @@
(call_formatting_function_format_single_footnote): check and reset
flags in build_html_formatting_state.
+2024-07-24 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/XS/convert/convert_html.c
+ (html_prepare_converted_output_info, html_do_js_files): free
+ default_document_language and preamble_document_language. Free jsdir.
+
2024-07-24 Patrice Dumas <pertusus@free.fr>
XS override for HTML::convert
diff --git a/tp/Texinfo/XS/convert/convert_html.c
b/tp/Texinfo/XS/convert/convert_html.c
index fc63d7a4db..5c57416482 100644
--- a/tp/Texinfo/XS/convert/convert_html.c
+++ b/tp/Texinfo/XS/convert/convert_html.c
@@ -16724,7 +16724,12 @@ html_prepare_converted_output_info (CONVERTER *self,
const char *output_file,
&& init_handler_status > -handler_fatal_error_level)
{}
else
- return 0;
+ {
+ free (default_document_language);
+ free (preamble_document_language);
+
+ return 0;
+ }
html_prepare_title_titlepage (self, output_file, output_filename);
@@ -16735,6 +16740,9 @@ html_prepare_converted_output_info (CONVERTER *self,
const char *output_file,
|| strcmp (default_document_language, preamble_document_language)))
html_translate_names (self);
+ free (default_document_language);
+ free (preamble_document_language);
+
return 1;
}
@@ -21064,6 +21072,7 @@ html_do_js_files (CONVERTER *self)
}
}
free (encoded_jsdir);
+ free (jsdir);
}
if (self->jslicenses.number > 0)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/XS/convert/convert_html.c (html_prepare_converted_output_info, html_do_js_files): free default_document_language and preamble_document_language. Free jsdir.,
Patrice Dumas <=