# HG changeset patch # User Richard M. Stallman # Date 1140398142 0 # Node ID e9728e256a07e01d4b8bc287b16ee0b0683642c3 # Parent 5d9232b72d140b36e7a642eb73872f3c31c135d8 (extend_range_table_work_area): Call xmalloc and xrealloc. diff -r 5d9232b72d14 -r e9728e256a07 src/regex.c --- a/src/regex.c Mon Feb 20 01:14:07 2006 +0000 +++ b/src/regex.c Mon Feb 20 01:15:42 2006 +0000 @@ -2067,10 +2067,10 @@ 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