aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2004-09-29 23:43:48 +0000
committerKenichi Handa2004-09-29 23:43:48 +0000
commit9de36315db6feb975f19b3a01c5883a56f2b1fe9 (patch)
tree76468db3d65e1ba989f8e3178dad908bd5dd30d5 /src
parente254e5e586086511c00c729dec1cdea029572aec (diff)
downloademacs-9de36315db6feb975f19b3a01c5883a56f2b1fe9.tar.gz
emacs-9de36315db6feb975f19b3a01c5883a56f2b1fe9.zip
(send_process): Be sure to free composition data.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog11
-rw-r--r--src/process.c1
2 files changed, 12 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 266b62588ea..4cb7ad9d501 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,14 @@
12004-09-30 Kenichi Handa <handa@m17n.org>
2
3 * process.c (send_process): Be sure to free composition data.
4
5 * fileio.c (Finsert_file_contents): Be sure to free composition
6 data.
7
8 * coding.c (code_convert_region): Don't skip ASCIIs if there are
9 compositions to encode. Be sure to free composition data.
10 (encode_coding_string): Likewise.
11
12004-09-29 Kim F. Storm <storm@cua.dk> 122004-09-29 Kim F. Storm <storm@cua.dk>
2 13
3 * fringe.c: Remove limit on number of bitmaps. 14 * fringe.c: Remove limit on number of bitmaps.
diff --git a/src/process.c b/src/process.c
index d20290813e1..b63c730b480 100644
--- a/src/process.c
+++ b/src/process.c
@@ -5203,6 +5203,7 @@ send_process (proc, buf, len, object)
5203 object = p->encoding_buf; 5203 object = p->encoding_buf;
5204 encode_coding (coding, (char *) buf, SDATA (object), 5204 encode_coding (coding, (char *) buf, SDATA (object),
5205 len, SBYTES (object)); 5205 len, SBYTES (object));
5206 coding_free_composition_data (coding);
5206 len = coding->produced; 5207 len = coding->produced;
5207 buf = SDATA (object); 5208 buf = SDATA (object);
5208 } 5209 }