IOS-967 fix netpgp memory leak
authorDirk Zimmermann <dirk@pep-project.org>
Wed, 07 Mar 2018 10:40:18 +0100
changeset 2554d7bbec46bd84
parent 2553 f66efd53d8b1
child 2559 1db16cd8e50c
child 2560 890946ee67ae
IOS-967 fix netpgp memory leak
src/pgp_netpgp.c
     1.1 --- a/src/pgp_netpgp.c	Tue Mar 06 15:01:29 2018 +0100
     1.2 +++ b/src/pgp_netpgp.c	Wed Mar 07 10:40:18 2018 +0100
     1.3 @@ -497,6 +497,7 @@
     1.4      pgp_validate_result_free(vresult);
     1.5  
     1.6  unlock_netpgp:
     1.7 +    free(recipients_key_ids);
     1.8      pthread_mutex_unlock(&netpgp_mutex);
     1.9  
    1.10      return result;