Commit 62542d04 authored by Matt Caswell's avatar Matt Caswell
Browse files

Fix a memory leak in an error path



Found by Coverity.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
Reviewed-by: default avatarPaul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/5336)
parent d8e2b4f9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
}