texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/Texinfo/XS/parsetexi/macro.c (expandline_mac


From: Gavin D. Smith
Subject: branch master updated: * tp/Texinfo/XS/parsetexi/macro.c (expandline_macro_arguments): Free return value from parse_command_name.
Date: Sat, 29 Jul 2023 17:13:04 -0400

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

gavin pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 4dcc2e00f8 * tp/Texinfo/XS/parsetexi/macro.c 
(expandline_macro_arguments): Free return value from parse_command_name.
4dcc2e00f8 is described below

commit 4dcc2e00f850a34887d5dac42aeb4b9ad65160d5
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sat Jul 29 22:00:17 2023 +0100

    * tp/Texinfo/XS/parsetexi/macro.c (expandline_macro_arguments):
    Free return value from parse_command_name.
---
 ChangeLog                       | 5 +++++
 tp/Texinfo/XS/parsetexi/macro.c | 1 +
 2 files changed, 6 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 2cbf5ac215..19795836e4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-07-29  Gavin Smith <gavinsmith0123@gmail.com>
+
+       * tp/Texinfo/XS/parsetexi/macro.c (expandline_macro_arguments):
+       Free return value from parse_command_name.
+
 2023-07-29  Gavin Smith <gavinsmith0123@gmail.com>
 
        * tp/Texinfo/XS/parsetexi/source_marks.c (relocate_source_marks):
diff --git a/tp/Texinfo/XS/parsetexi/macro.c b/tp/Texinfo/XS/parsetexi/macro.c
index a1bb7b803d..7ec05a60ee 100644
--- a/tp/Texinfo/XS/parsetexi/macro.c
+++ b/tp/Texinfo/XS/parsetexi/macro.c
@@ -563,6 +563,7 @@ expand_linemacro_arguments (ELEMENT *macro, char 
**line_inout,
                   text_append_n (arg, pline, whitespaces_len);
                   pline += whitespaces_len;
                 }
+              free (command);
             }
           else
             {



reply via email to

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