1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-13 01:32:21 -07:00

* src/itree.c (itree_stack_ensure_space): Use xpalloc properly.

This commit is contained in:
Helmut Eller 2026-03-22 17:51:13 +01:00
parent 4deaff20e4
commit d8d526fa2f

View file

@ -183,9 +183,10 @@ itree_stack_ensure_space (struct itree_stack *stack, uintmax_t nelements)
stack->nodes = xrealloc (stack->nodes,
stack->size * sizeof (*stack->nodes));
#else
igc_xpalloc_raw_exact (&stack->nodes, &stack->size,
nelements - stack->size, -1,
"itree stack");
stack->nodes
= igc_xpalloc_raw_exact (stack->nodes, &stack->size,
nelements - stack->size, -1,
"itree stack");
#endif
}
}