Commit 92cf1086 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Finsert_file_contents): Use xrealloc too.

parent 3bdbb9ad
......@@ -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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment