diff src/fileio.c @ 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 d7b187832881
children f36ffb6f1208
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.  */