From abf6a75b428517d9caaf9155212b0b10e0379a99 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Tue, 24 May 2005 21:01:33 +0000 Subject: merge from gcc --- libiberty/ternary.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libiberty/ternary.c') diff --git a/libiberty/ternary.c b/libiberty/ternary.c index e57e944..8fc561a 100644 --- a/libiberty/ternary.c +++ b/libiberty/ternary.c @@ -74,7 +74,7 @@ ternary_insert (ternary_tree *root, const char *s, PTR data, int replace) for (;;) { /* Allocate the memory for the node, and fill it in */ - *pcurr = (ternary_tree) xmalloc (sizeof (ternary_node)); + *pcurr = XNEW (ternary_node); curr = *pcurr; curr->splitchar = *s; curr->lokid = curr->hikid = curr->eqkid = 0; -- cgit v1.1