summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/crypto/des/ChangeLog5
-rw-r--r--src/lib/crypto/des/u_nfold.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/crypto/des/ChangeLog b/src/lib/crypto/des/ChangeLog
index 5768c55a1..0c1292507 100644
--- a/src/lib/crypto/des/ChangeLog
+++ b/src/lib/crypto/des/ChangeLog
@@ -1,3 +1,8 @@
+Sat May 18 02:02:59 1996 Theodore Y. Ts'o <tytso@mit.edu>
+
+ * u_nfold.c (mit_des_n_fold): Fix memory leak. Free tempbuf
+ before returning.
+
Tue May 14 18:59:38 1996 Richard Basch <basch@lehman.com>
* des_int.h: the cs_entry routines in cbc_cksum.c are now static.
diff --git a/src/lib/crypto/des/u_nfold.c b/src/lib/crypto/des/u_nfold.c
index 38829e0ed..6da58cbef 100644
--- a/src/lib/crypto/des/u_nfold.c
+++ b/src/lib/crypto/des/u_nfold.c
@@ -92,6 +92,8 @@ mit_des_n_fold(inbuf, inlen, outbuf, outlen)
}
bytes += inlen;
} while (bytes % outlen);
+
+ free(tempbuf);
return 0;
}