diff options
author | Richard M. Stallman <rms@gnu.org> | 2006-02-20 01:15:42 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2006-02-20 01:15:42 +0000 |
commit | 8a169494f0e5377cb7e5effbf9b272090a66b7b9 (patch) | |
tree | 28c8bd024ebb43c07ea71a27d7c5d4d78366b2cb /src/regex.c | |
parent | 6d304eed7ff59be338a7fcb93b0af53208240727 (diff) | |
download | emacs-8a169494f0e5377cb7e5effbf9b272090a66b7b9.tar.gz |
(extend_range_table_work_area): Call xmalloc and xrealloc.
Diffstat (limited to 'src/regex.c')
-rw-r--r-- | src/regex.c | 4 |
1 files 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 |