Mercurial > emacs
changeset 69026:e9728e256a07
(extend_range_table_work_area): Call xmalloc and xrealloc.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 20 Feb 2006 01:15:42 +0000 |
parents | 5d9232b72d14 |
children | b8d7bffaf333 |
files | src/regex.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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