Mercurial > emacs
comparison src/fileio.c @ 24451:4e77e063fc79
(Finsert_file_contents): Use xfree.
author | Dave Love <fx@gnu.org> |
---|---|
date | Sun, 07 Mar 1999 15:53:09 +0000 |
parents | 634381209ab5 |
children | 9c3beaed253e |
comparison
equal
deleted
inserted
replaced
24450:60d1fad41645 | 24451:4e77e063fc79 |
---|---|
3764 /* First read the whole file, performing code conversion into | 3764 /* First read the whole file, performing code conversion into |
3765 CONVERSION_BUFFER. */ | 3765 CONVERSION_BUFFER. */ |
3766 | 3766 |
3767 if (lseek (fd, XINT (beg), 0) < 0) | 3767 if (lseek (fd, XINT (beg), 0) < 0) |
3768 { | 3768 { |
3769 free (conversion_buffer); | 3769 xfree (conversion_buffer); |
3770 report_file_error ("Setting file position", | 3770 report_file_error ("Setting file position", |
3771 Fcons (orig_filename, Qnil)); | 3771 Fcons (orig_filename, Qnil)); |
3772 } | 3772 } |
3773 | 3773 |
3774 total = st.st_size; /* Total bytes in the file. */ | 3774 total = st.st_size; /* Total bytes in the file. */ |