From e3cb03d7b665c5ddb2c06b0c976f470acc60b1e1 Mon Sep 17 00:00:00 2001 From: "mostang.com!davidm" Date: Thu, 18 Jul 2002 03:58:34 +0000 Subject: [PATCH] (get_kernel_table): Use sos_alloc()/sos_free() instead of malloc()/free(). (Logical change 1.19) --- src/ia64/tables-glibc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ia64/tables-glibc.c b/src/ia64/tables-glibc.c index 856419a0..cfbc2588 100644 --- a/src/ia64/tables-glibc.c +++ b/src/ia64/tables-glibc.c @@ -73,7 +73,7 @@ get_kernel_table (void *ptr) debug (100, "unwind: checking kernel unwind table"); size = getunwind (NULL, 0); - ktab = malloc (size); + ktab = sos_alloc (size); if (!ktab) { dprintf (__FILE__".%s: failed to allocate %Zu bytes", @@ -88,7 +88,7 @@ get_kernel_table (void *ptr) if (info->segbase < ktab[0].start_offset || info->segbase >= etab[-1].end_offset) { - free (ktab); + sos_free (ktab); return -1; }