Subject: bug#78941: feature/igc [PATCH] igc_alloc_handler: use label "handler".

From: Helmut Eller <[email-masked]>
Date: Wed, 02 Jul 2025 14:25:52 +0200

This patch creates a more specific label for handlers.

>From 8a789fbffed6ec726acd484c176df44464d23728 Mon Sep 17 00:00:00 2001
From: Helmut Eller <[email-masked]>
Date: Wed, 2 Jul 2025 13:33:08 +0200
Subject: [PATCH] * src/igc.c (igc_alloc_handler): Create root with label
 "handler".

---
 src/igc.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/igc.c b/src/igc.c
index 61886f5cf90..d0bd9eb63e8 100644
--- a/src/igc.c
+++ b/src/igc.c
@@ -4625,7 +4625,9 @@ igc_alloc_blv (void)
 void *
 igc_alloc_handler (void)
 {
-  struct handler *h = igc_xzalloc_ambig (sizeof *h);
+  static_assert (sizeof (struct handler) % IGC_ALIGN_DFLT == 0);
+  struct handler *h = xzalloc (sizeof *h);
+  root_create_ambig (global_igc, h, h + 1, "handler");
   return h;
 }
 
-- 
2.39.5