emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/fileio.c


From: Kenichi Handa
Subject: [Emacs-diffs] Changes to emacs/src/fileio.c
Date: Wed, 29 Sep 2004 20:03:28 -0400

Index: emacs/src/fileio.c
diff -c emacs/src/fileio.c:1.514 emacs/src/fileio.c:1.515
*** emacs/src/fileio.c:1.514    Wed Sep 15 00:28:03 2004
--- emacs/src/fileio.c  Wed Sep 29 23:41:54 2004
***************
*** 4260,4266 ****
        if (how_much < 0)
        {
          xfree (conversion_buffer);
! 
          if (how_much == -1)
            error ("IO error reading %s: %s",
                   SDATA (orig_filename), emacs_strerror (errno));
--- 4260,4266 ----
        if (how_much < 0)
        {
          xfree (conversion_buffer);
!         coding_free_composition_data (&coding);
          if (how_much == -1)
            error ("IO error reading %s: %s",
                   SDATA (orig_filename), emacs_strerror (errno));
***************
*** 4282,4287 ****
--- 4282,4288 ----
        if (bufpos == inserted)
        {
          xfree (conversion_buffer);
+         coding_free_composition_data (&coding);
          emacs_close (fd);
          specpdl_ptr--;
          /* Truncate the buffer to the size of the file.  */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]