[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Gavin D. Smith |
Date: |
Sun, 15 Oct 2023 07:42:25 -0400 (EDT) |
branch: master
commit 0a912a9dcd18e2650d18af6be594e9ba0b015860
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sun Oct 15 12:40:38 2023 +0100
* tp/Texinfo/XS/parsetexi/api.c (reset_parser): Update comment
re using malloc/free.
---
ChangeLog | 5 +++++
tp/Texinfo/XS/parsetexi/api.c | 5 +++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 2b9d3cbf8d..8a5d3280fb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-10-15 Gavin Smith <gavinsmith0123@gmail.com>
+
+ * tp/Texinfo/XS/parsetexi/api.c (reset_parser): Update comment
+ re using malloc/free.
+
2023-10-15 Eli Zaretskii <eliz@gnu.org>
* tp/Texinfo/XS/parsetexi/api.c (reset_parser),
diff --git a/tp/Texinfo/XS/parsetexi/api.c b/tp/Texinfo/XS/parsetexi/api.c
index 08befd6a5c..bc88640925 100644
--- a/tp/Texinfo/XS/parsetexi/api.c
+++ b/tp/Texinfo/XS/parsetexi/api.c
@@ -160,8 +160,9 @@ reset_parser (int debug_output)
{
dTHX;
- /* NOTE: Do not call 'malloc' or 'free' in this function or in any function
- called in this file. Since this file (api.c) includes the Perl headers,
+ /* NOTE: Do not call 'malloc' or 'free' in this function.
+
+ Since this file (api.c) includes the Perl headers,
we get the Perl redefinitions, which we do not want, as we don't use
them throughout the rest of the program. */