diff options
author | asami <asami@FreeBSD.org> | 1997-02-28 17:25:43 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1997-02-28 17:25:43 +0800 |
commit | dc45faab188ef8ae873cad047bb4c336e4a8255f (patch) | |
tree | 67b0b44e106c5f451d30dbef9f05c6da8fecfbae /japanese/FreeWnn-lib | |
parent | e624b61eb7f56e9a6615e3bca93cd2a20f0824e7 (diff) | |
download | freebsd-ports-gnome-dc45faab188ef8ae873cad047bb4c336e4a8255f.tar.gz freebsd-ports-gnome-dc45faab188ef8ae873cad047bb4c336e4a8255f.tar.zst freebsd-ports-gnome-dc45faab188ef8ae873cad047bb4c336e4a8255f.zip |
Don't free() the same region twice.
Submitted by: Naoki Hamada <nao@sbl.cl.nec.co.jp>
Diffstat (limited to 'japanese/FreeWnn-lib')
-rw-r--r-- | japanese/FreeWnn-lib/files/patch-ac | 10 |
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); |