]> git.eshelyaron.com Git - emacs.git/commitdiff
(extend_range_table_work_area): Call xmalloc and xrealloc.
authorRichard M. Stallman <rms@gnu.org>
Mon, 20 Feb 2006 01:15:42 +0000 (01:15 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 20 Feb 2006 01:15:42 +0000 (01:15 +0000)
src/regex.c

index 602318263800b6089bdcee5d0d4b523b3844e350..ada7877021115ec5ef88b245bbf4e0e07c53391a 100644 (file)
@@ -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