The branch master has been updated
       via  62542d046483687330c55b36fa27d82dc03958c2 (commit)
      from  d8e2b4f9bf2e387ee533723a2d668fe7254b025c (commit)


- Log -----------------------------------------------------------------
commit 62542d046483687330c55b36fa27d82dc03958c2
Author: Matt Caswell <m...@openssl.org>
Date:   Mon Feb 12 16:58:33 2018 +0000

    Fix a memory leak in an error path
    
    Found by Coverity.
    
    Reviewed-by: Rich Salz <rs...@openssl.org>
    Reviewed-by: Paul Dale <paul.d...@oracle.com>
    (Merged from https://github.com/openssl/openssl/pull/5336)

-----------------------------------------------------------------------

Summary of changes:
 crypto/rsa/rsa_mp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/crypto/rsa/rsa_mp.c b/crypto/rsa/rsa_mp.c
index 97a09f1..7e38179 100644
--- a/crypto/rsa/rsa_mp.c
+++ b/crypto/rsa/rsa_mp.c
@@ -51,6 +51,7 @@ RSA_PRIME_INFO *rsa_multip_info_new(void)
     BN_free(pinfo->d);
     BN_free(pinfo->t);
     BN_free(pinfo->pp);
+    OPENSSL_free(pinfo);
     return NULL;
 }
 
_____
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits

Reply via email to