[OpenPGP:SDK svn] r347 - openpgpsdk/trunk/src
Subversion
ben at algroup.co.uk
Tue Jan 31 12:08:54 GMT 2006
Author: ben
Date: 2006-01-31 12:08:54 +0000 (Tue, 31 Jan 2006)
New Revision: 347
Modified:
openpgpsdk/trunk/src/packet-parse.c
Log:
Free the passphrase.
Modified: openpgpsdk/trunk/src/packet-parse.c
===================================================================
--- openpgpsdk/trunk/src/packet-parse.c 2006-01-31 12:01:12 UTC (rev 346)
+++ openpgpsdk/trunk/src/packet-parse.c 2006-01-31 12:08:54 UTC (rev 347)
@@ -1932,6 +1932,8 @@
assert(r == hashsize);
}
+ free(passphrase);
+
ops_decrypt_any(&decrypt,C.secret_key.algorithm);
decrypt.set_iv(&decrypt,C.secret_key.iv);
decrypt.set_key(&decrypt,key);
More information about the OpenPGPsdk-svn
mailing list