From: Nils Larsch Date: Wed, 8 Feb 2006 18:52:43 +0000 (+0000) Subject: remove unnecessary check X-Git-Tag: OpenSSL_0_9_8k^2~1571 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=bbab9b61dd742bac5f71d53e778f3b4abe17d0e4 remove unnecessary check --- diff --git a/crypto/ec/ec_lib.c b/crypto/ec/ec_lib.c index 60aa7fdeee..e0d8d2804d 100644 --- a/crypto/ec/ec_lib.c +++ b/crypto/ec/ec_lib.c @@ -147,7 +147,7 @@ void EC_GROUP_clear_free(EC_GROUP *group) if (group->meth->group_clear_finish != 0) group->meth->group_clear_finish(group); - else if (group->meth != NULL && group->meth->group_finish != 0) + else if (group->meth->group_finish != 0) group->meth->group_finish(group); EC_EX_DATA_clear_free_all_data(&group->extra_data);