> All these checks for null are unnecessary: > > EVP_PKEY_free() decrements the reference count of key and, if the > reference count is zero, > frees it up. If key is NULL, nothing is done. > > > Let me add those functions to cocci nullfree script as well. Ack.
- [PATCH v2] crypto/openssl: fix memory leaks in ... Gowrishankar Muthukrishnan
- Re: [PATCH v2] crypto/openssl: fix memory ... Stephen Hemminger
- RE: [EXT] Re: [PATCH v2] crypto/openss... Gowrishankar Muthukrishnan
- RE: [PATCH v2] crypto/openssl: fix memory ... Power, Ciara
- RE: [PATCH v2] crypto/openssl: fix memory ... Power, Ciara
- [PATCH v3] crypto/openssl: fix memory leak... Gowrishankar Muthukrishnan
- RE: [PATCH v3] crypto/openssl: fix mem... Power, Ciara
- RE: [PATCH v3] crypto/openssl: fix mem... Akhil Goyal
- [PATCH v4] crypto/openssl: fix memory ... Gowrishankar Muthukrishnan
- RE: [PATCH v4] crypto/openssl: fix... Akhil Goyal