diff options
author | 1997-10-07 21:11:44 +0000 | |
---|---|---|
committer | 1997-10-07 21:11:44 +0000 | |
commit | 1797d71b7c84b133777fe6983aff1a30d499390b (patch) | |
tree | 1aedfbe8b3ce5c31bb0862b9843ccc490e2c145d | |
parent | Put regdump.c here until after 2.2 when it will be (diff) | |
download | wireguard-openbsd-1797d71b7c84b133777fe6983aff1a30d499390b.tar.xz wireguard-openbsd-1797d71b7c84b133777fe6983aff1a30d499390b.zip |
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; |