From: Richard M. Stallman Date: Thu, 15 May 1997 21:28:03 +0000 (+0000) Subject: (Finsert_file_contents): Use xrealloc too. X-Git-Tag: emacs-20.1~2122 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=92cf10865610514bce6b9f7df5a3890ea271dfe8;p=emacs.git (Finsert_file_contents): Use xrealloc too. --- 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. */