diff options
| author | Dave Love | 1999-08-18 13:07:21 +0000 |
|---|---|---|
| committer | Dave Love | 1999-08-18 13:07:21 +0000 |
| commit | a36837e471ec6ab2e0541cc79b03c38e7f05c02a (patch) | |
| tree | 8886561bebf00c3e0bd0542904aeea9ca20f430e | |
| parent | 495fa05e41e1d9455b6f9e218d35a81b252e9542 (diff) | |
| download | emacs-a36837e471ec6ab2e0541cc79b03c38e7f05c02a.tar.gz emacs-a36837e471ec6ab2e0541cc79b03c38e7f05c02a.zip | |
(Finsert_file_contents): Use xfree.
| -rw-r--r-- | src/fileio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fileio.c b/src/fileio.c index a55e07973cc..04c12858e4c 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -3843,7 +3843,7 @@ actually used.") | |||
| 3843 | 3843 | ||
| 3844 | if (how_much < 0) | 3844 | if (how_much < 0) |
| 3845 | { | 3845 | { |
| 3846 | free (conversion_buffer); | 3846 | xfree (conversion_buffer); |
| 3847 | 3847 | ||
| 3848 | if (how_much == -1) | 3848 | if (how_much == -1) |
| 3849 | error ("IO error reading %s: %s", | 3849 | error ("IO error reading %s: %s", |
| @@ -3865,7 +3865,7 @@ actually used.") | |||
| 3865 | 3865 | ||
| 3866 | if (bufpos == inserted) | 3866 | if (bufpos == inserted) |
| 3867 | { | 3867 | { |
| 3868 | free (conversion_buffer); | 3868 | xfree (conversion_buffer); |
| 3869 | close (fd); | 3869 | close (fd); |
| 3870 | specpdl_ptr--; | 3870 | specpdl_ptr--; |
| 3871 | /* Truncate the buffer to the size of the file. */ | 3871 | /* Truncate the buffer to the size of the file. */ |