[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/XS/main/get_perl_info.c (set_output_
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/Texinfo/XS/main/get_perl_info.c (set_output_converter_sv): free converter->conf itself after freeing the options if it was set. |
Date: |
Sun, 19 Nov 2023 12:36:58 -0500 |
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 744bad1183 * tp/Texinfo/XS/main/get_perl_info.c
(set_output_converter_sv): free converter->conf itself after freeing the
options if it was set.
744bad1183 is described below
commit 744bad118310c95d64daee4350262e7fcfcdd37a
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Nov 19 18:36:48 2023 +0100
* tp/Texinfo/XS/main/get_perl_info.c (set_output_converter_sv):
free converter->conf itself after freeing the options if it was set.
---
ChangeLog | 5 +++++
tp/Texinfo/XS/main/get_perl_info.c | 2 ++
2 files changed, 7 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 28c0c4310a..f7c44eaa12 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-11-19 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/XS/main/get_perl_info.c (set_output_converter_sv):
+ free converter->conf itself after freeing the options if it was set.
+
2023-11-19 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/XS/convert/convert_html.c (command_conversion_external)
diff --git a/tp/Texinfo/XS/main/get_perl_info.c
b/tp/Texinfo/XS/main/get_perl_info.c
index f3980329f5..b57ffe708e 100644
--- a/tp/Texinfo/XS/main/get_perl_info.c
+++ b/tp/Texinfo/XS/main/get_perl_info.c
@@ -397,6 +397,8 @@ set_output_converter_sv (SV *sv_in, char *warn_string)
{
if (converter->conf)
free_options (converter->conf);
+ free (converter->conf);
+
converter->conf
= copy_sv_options (*converter_conf_sv);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/XS/main/get_perl_info.c (set_output_converter_sv): free converter->conf itself after freeing the options if it was set.,
Patrice Dumas <=