From 92cf10865610514bce6b9f7df5a3890ea271dfe8 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 15 May 1997 21:28:03 +0000 Subject: [PATCH] (Finsert_file_contents): Use xrealloc too. --- src/fileio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */ -- 2.39.2