changeset 17823:2f313f045caa

(Finsert_file_contents): Use xrealloc too.
author Richard M. Stallman <rms@gnu.org>
date Thu, 15 May 1997 21:28:03 +0000
parents aa58af737877
children 2c47fcd3beb7
files src/fileio.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/fileio.c	Thu May 15 21:19:48 1997 +0000
+++ b/src/fileio.c	Thu May 15 21:28:03 1997 +0000
@@ -3386,7 +3386,7 @@
 	      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.  */