summaryrefslogtreecommitdiffstats
path: root/g10/encode.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1999-12-08 22:03:03 +0100
committerWerner Koch <wk@gnupg.org>1999-12-08 22:03:03 +0100
commit4555c0be941cef55486b7a1644d9b70f4ea50c77 (patch)
tree1a10627bf31163f9aef5040724c53f75e8daf3e6 /g10/encode.c
parentSee ChangeLog: Fri Nov 19 17:15:20 CET 1999 Werner Koch (diff)
downloadgnupg2-4555c0be941cef55486b7a1644d9b70f4ea50c77.tar.xz
gnupg2-4555c0be941cef55486b7a1644d9b70f4ea50c77.zip
See ChangeLog: Wed Dec 8 21:58:32 CET 1999 Werner Koch
Diffstat (limited to 'g10/encode.c')
-rw-r--r--g10/encode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/encode.c b/g10/encode.c
index e87616d70..15761d09d 100644
--- a/g10/encode.c
+++ b/g10/encode.c
@@ -474,7 +474,7 @@ write_pubkey_enc_from_list( PK_LIST pk_list, DEK *dek, IOBUF out )
frame = encode_session_key( dek, pubkey_nbits( pk->pubkey_algo,
pk->pkey ) );
rc = pubkey_encrypt( pk->pubkey_algo, enc->data, frame, pk->pkey );
- mpi_free( frame );
+ mpi_release( frame );
if( rc )
log_error("pubkey_encrypt failed: %s\n", g10_errstr(rc) );
else {