X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=apps%2Fciphers.c;h=4b9a114666c027ee5edd3a2eef8a06709e2e4f8b;hp=6c7ff01eeaebf5a64231abd545be565ed4d333ce;hb=62adbcee392ba1061bf213174e8c59728e00860e;hpb=e2010b202a52be9120582537845f422a60d5d8c0 diff --git a/apps/ciphers.c b/apps/ciphers.c index 6c7ff01eea..4b9a114666 100644 --- a/apps/ciphers.c +++ b/apps/ciphers.c @@ -223,10 +223,8 @@ int MAIN(int argc, char **argv) end: if (use_supported && sk) sk_SSL_CIPHER_free(sk); - if (ctx != NULL) - SSL_CTX_free(ctx); - if (ssl != NULL) - SSL_free(ssl); + SSL_CTX_free(ctx); + SSL_free(ssl); BIO_free_all(STDout); apps_shutdown(); OPENSSL_EXIT(ret);