From 0c41a39c29bc528431e013cf6d11e9ad1c43b1f0 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Wed, 7 Jun 2000 02:25:59 +0000 Subject: [PATCH] (e_write): Free composition data if stored in coding->cmp_data. --- src/fileio.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/fileio.c b/src/fileio.c index 9711cad2feb..2f2c49252a9 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -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; } -- 2.39.2