diff options
| author | Richard M. Stallman | 2006-02-20 01:15:42 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2006-02-20 01:15:42 +0000 |
| commit | 8a169494f0e5377cb7e5effbf9b272090a66b7b9 (patch) | |
| tree | 28c8bd024ebb43c07ea71a27d7c5d4d78366b2cb /src | |
| parent | 6d304eed7ff59be338a7fcb93b0af53208240727 (diff) | |
| download | emacs-8a169494f0e5377cb7e5effbf9b272090a66b7b9.tar.gz emacs-8a169494f0e5377cb7e5effbf9b272090a66b7b9.zip | |
(extend_range_table_work_area): Call xmalloc and xrealloc.
Diffstat (limited to 'src')
| -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) | |||
| 2067 | work_area->allocated += 16 * sizeof (int); | 2067 | work_area->allocated += 16 * sizeof (int); |
| 2068 | if (work_area->table) | 2068 | if (work_area->table) |
| 2069 | work_area->table | 2069 | work_area->table |
| 2070 | = (int *) realloc (work_area->table, work_area->allocated); | 2070 | = (int *) xrealloc (work_area->table, work_area->allocated); |
| 2071 | else | 2071 | else |
| 2072 | work_area->table | 2072 | work_area->table |
| 2073 | = (int *) malloc (work_area->allocated); | 2073 | = (int *) xalloc (work_area->allocated); |
| 2074 | } | 2074 | } |
| 2075 | 2075 | ||
| 2076 | #ifdef emacs | 2076 | #ifdef emacs |