mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-08 04:30:45 -08:00
(Finsert_file_contents): Use xrealloc too.
This commit is contained in:
parent
3bdbb9adc6
commit
92cf108656
1 changed files with 1 additions and 1 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue