diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-10-07 21:11:45 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-10-07 21:11:45 +0000 |
commit | 850a4c9bdc40b09e5d0724182f7a9ea0a4cb07df (patch) | |
tree | 80469276a54b0c5587c4929c3321abafb4d0df73 | |
parent | 028a2e9d383be1fdcf564a59230993acec246c00 (diff) |
avoid repeated memory leaking; karl@mcs.net
-rw-r--r-- | lib/libdes/enc_writ.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libdes/enc_writ.c b/lib/libdes/enc_writ.c index cf613827148..da02b107d14 100644 --- a/lib/libdes/enc_writ.c +++ b/lib/libdes/enc_writ.c @@ -76,7 +76,7 @@ des_cblock (*iv); long rnum; int i,j,k,outnum; - char *outbuf=NULL; + static char *outbuf=NULL; char shortbuf[8]; char *p; static int start=1; |