summaryrefslogtreecommitdiff
path: root/japanese/FreeWnn-lib
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1997-02-28 09:25:43 +0000
committerSatoshi Asami <asami@FreeBSD.org>1997-02-28 09:25:43 +0000
commitcd91ecec6fc71cedb832f0a744d5f4d1688b0f41 (patch)
tree748745e22eef142d50d3918566bd81d579f1970a /japanese/FreeWnn-lib
parentMake sure fd 2 won't be pointing to the dictionary file, so that (diff)
Don't free() the same region twice.
Submitted by: Naoki Hamada <nao@sbl.cl.nec.co.jp>
Notes
Notes: svn path=/head/; revision=5773
Diffstat (limited to 'japanese/FreeWnn-lib')
-rw-r--r--japanese/FreeWnn-lib/files/patch-ac10
1 files changed, 10 insertions, 0 deletions
diff --git a/japanese/FreeWnn-lib/files/patch-ac b/japanese/FreeWnn-lib/files/patch-ac
new file mode 100644
index 000000000000..a5d7d6c8f550
--- /dev/null
+++ b/japanese/FreeWnn-lib/files/patch-ac
@@ -0,0 +1,10 @@
+--- ./Wnn/jserver/readfile.c.org Thu Sep 24 15:35:47 1992
++++ ./Wnn/jserver/readfile.c Fri Feb 28 01:13:46 1997
+@@ -423,6 +423,7 @@
+
+ jt2 = (struct JT *)malloc(sizeof(struct JT));
+ *jt2 = *jt1;
++ jt2->node = 0;
+
+ if(alloc_dict(jt2) == -1){
+ free(jt2);