From 8a169494f0e5377cb7e5effbf9b272090a66b7b9 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 20 Feb 2006 01:15:42 +0000 Subject: [PATCH] (extend_range_table_work_area): Call xmalloc and xrealloc. --- src/regex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/regex.c b/src/regex.c index 60231826380..ada78770211 100644 --- a/src/regex.c +++ b/src/regex.c @@ -2067,10 +2067,10 @@ extend_range_table_work_area (work_area) work_area->allocated += 16 * sizeof (int); if (work_area->table) work_area->table - = (int *) realloc (work_area->table, work_area->allocated); + = (int *) xrealloc (work_area->table, work_area->allocated); else work_area->table - = (int *) malloc (work_area->allocated); + = (int *) xalloc (work_area->allocated); } #ifdef emacs -- 2.39.2