1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/japanese/FreeWnn-lib/files/patch-ac
Satoshi Asami cd91ecec6f Don't free() the same region twice.
Submitted by:	Naoki Hamada <nao@sbl.cl.nec.co.jp>
1997-02-28 09:25:43 +00:00

11 lines
270 B
Plaintext

--- ./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);