[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Patrice Dumas |
Date: |
Sun, 29 Sep 2024 03:01:54 -0400 (EDT) |
branch: master
commit 1114cf0c48cc23351cbad3beaf4c605697e673b6
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Thu Jun 6 16:25:47 2024 +0200
* tp/Texinfo/XS/main/tree.c (destroy_associated_info): use k_pair
variable.
---
ChangeLog | 9 +++++++++
tp/Texinfo/XS/main/tree.c | 5 ++---
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 5eed705696..a313be4dc4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2024-06-05 Patrice Dumas <pertusus@free.fr>
+
+ Do not use unnamed union for KEY_PAIR in rebased code
+
+ * tp/Texinfo/XS/main/extra.c (lookup_extra_misc_args),
+ tp/Texinfo/XS/main/manipulate_tree.c (associate_info_references),
+ tp/Texinfo/XS/main/tree.c (destroy_associated_info): update code after
+ rebasing master.
+
2024-06-05 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/XS/main/build_perl_info.c (element_to_perl_hash),
diff --git a/tp/Texinfo/XS/main/tree.c b/tp/Texinfo/XS/main/tree.c
index 082e619b62..7c69617405 100644
--- a/tp/Texinfo/XS/main/tree.c
+++ b/tp/Texinfo/XS/main/tree.c
@@ -157,11 +157,10 @@ destroy_associated_info (ASSOCIATED_INFO *a)
case extra_misc_args:
{
int j;
- ELEMENT_LIST *l = a->info[i].k.list;
+ ELEMENT_LIST *l = k_pair->k.list;
for (j = 0; j < l->number; j++)
destroy_element (l->list[j]);
-
- destroy_list (a->info[i].k.list);
+ destroy_list (k_pair->k.list);
}
break;