]> git.eshelyaron.com Git - emacs.git/commitdiff
(Finsert_file_contents): Use xrealloc too.
authorRichard M. Stallman <rms@gnu.org>
Thu, 15 May 1997 21:28:03 +0000 (21:28 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 15 May 1997 21:28:03 +0000 (21:28 +0000)
src/fileio.c

index e81893c185a77ead11349cd5b7755731756f59f5..14b1ca0aa0e71e69d4477a8b62878a3de713ab1d 100644 (file)
@@ -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.  */