From cd91ecec6fc71cedb832f0a744d5f4d1688b0f41 Mon Sep 17 00:00:00 2001 From: Satoshi Asami Date: Fri, 28 Feb 1997 09:25:43 +0000 Subject: Don't free() the same region twice. Submitted by: Naoki Hamada --- japanese/FreeWnn-lib/files/patch-ac | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 japanese/FreeWnn-lib/files/patch-ac (limited to 'japanese/FreeWnn-lib/files') 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); -- cgit v1.2.3