sequoia: Fix memory leak. sync
authorNeal H. Walfield <neal@pep.foundation>
Wed, 20 Mar 2019 19:43:17 +0100
branchsync
changeset 3358552f7ba5e109
parent 3357 9f3cca6deda9
child 3359 88184264d62e
sequoia: Fix memory leak.
src/pgp_sequoia.c
     1.1 --- a/src/pgp_sequoia.c	Wed Mar 20 19:40:40 2019 +0100
     1.2 +++ b/src/pgp_sequoia.c	Wed Mar 20 19:43:17 2019 +0100
     1.3 @@ -1495,7 +1495,7 @@
     1.4          ERROR_OUT(err, PEP_CANNOT_CREATE_KEY, "Generating a key pair");
     1.5  
     1.6      // XXX: We should return this.
     1.7 -    // pgp_signature_free(rev);
     1.8 +    pgp_signature_free(rev);
     1.9  
    1.10      tpk = pgp_tsk_into_tpk(tsk);
    1.11