texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/Texinfo/XS/main/document.c (remove_document_


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/XS/main/document.c (remove_document_descriptor): call unregister_document_hv.
Date: Tue, 01 Oct 2024 12:37:00 -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 8beaaacffb * tp/Texinfo/XS/main/document.c 
(remove_document_descriptor): call unregister_document_hv.
8beaaacffb is described below

commit 8beaaacffb0dd6934c8bbd5cd904cfc36e2bc637
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Thu Jul 25 16:47:21 2024 +0200

    * tp/Texinfo/XS/main/document.c (remove_document_descriptor): call
    unregister_document_hv.
---
 ChangeLog                     | 5 +++++
 tp/Texinfo/XS/main/document.c | 3 +++
 2 files changed, 8 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index a681b8e1c3..951bd9366f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-07-25  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/XS/main/document.c (remove_document_descriptor): call
+       unregister_document_hv.
+
 2024-07-25  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/XS/convert/build_html_perl_state.c
diff --git a/tp/Texinfo/XS/main/document.c b/tp/Texinfo/XS/main/document.c
index 432285f45b..32c131af22 100644
--- a/tp/Texinfo/XS/main/document.c
+++ b/tp/Texinfo/XS/main/document.c
@@ -32,6 +32,7 @@
 #include "manipulate_indices.h"
 #include "convert_to_text.h"
 #include "output_unit.h"
+#include "api_to_perl.h"
 #include "document.h"
 
 static DOCUMENT **document_list;
@@ -474,6 +475,8 @@ remove_document_descriptor (size_t document_descriptor)
   if (document->small_strings)
     destroy_strings_list (document->small_strings);
 
+  unregister_document_hv (document);
+
   /*
   fprintf (stderr, "REMOVE %zu %p\n", document_descriptor, document);
    */



reply via email to

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