diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-05-15 21:28:03 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-05-15 21:28:03 +0000 |
commit | 92cf10865610514bce6b9f7df5a3890ea271dfe8 (patch) | |
tree | 4c94ad28b72712e5d415df7ba8adf710123d3273 /src/fileio.c | |
parent | 3bdbb9adc6e7d8989dc96dc4b9dc5f242ea05b27 (diff) |
(Finsert_file_contents): Use xrealloc too.
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c index e81893c185a..14b1ca0aa0e 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -3386,7 +3386,7 @@ This does code conversion according to the value of\n\ if (inserted + require + 2 * (total - how_much) > bufsize) { bufsize = inserted + require + 2 * (total - how_much); - conversion_buffer = (unsigned char *) realloc (conversion_buffer, bufsize); + conversion_buffer = (unsigned char *) xrealloc (conversion_buffer, bufsize); } /* Convert this batch with results in CONVERSION_BUFFER. */ |