]> git.eshelyaron.com Git - emacs.git/commitdiff
(e_write): Free composition data if stored in
authorKenichi Handa <handa@m17n.org>
Wed, 7 Jun 2000 02:25:59 +0000 (02:25 +0000)
committerKenichi Handa <handa@m17n.org>
Wed, 7 Jun 2000 02:25:59 +0000 (02:25 +0000)
coding->cmp_data.

src/fileio.c

index 9711cad2febf62a859b9cbaf7067d818d2657183..2f2c49252a94291f758ca4eed4616787da80dfcc 100644 (file)
@@ -5084,6 +5084,10 @@ e_write (desc, string, start, end, coding)
       if (coding->cmp_data)
        coding_adjust_composition_offset (coding, start);
     }
+
+  if (coding->cmp_data)
+    coding_free_composition_data (coding);
+
   return return_val;
 }
 \f