Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove redundant null pointer check
  • Loading branch information
Berserker committed Sep 21, 2016
commit 7f4fbb97acb75a40d57bd7464733944a89126cd6
6 changes: 2 additions & 4 deletions net/auth/src/TAuthenticate.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -3870,10 +3870,8 @@ Int_t TAuthenticate::DecodeRSAPublic(const char *rsaPubExport, rsa_NUMBER &rsa_n
TRSA_fun::RSA_num_sget()(&rsa_n, rsa_n_exp);
TRSA_fun::RSA_num_sget()(&rsa_d, rsa_d_exp);

if (rsa_n_exp)
if (rsa_n_exp) delete[] rsa_n_exp;
if (rsa_d_exp)
if (rsa_d_exp) delete[] rsa_d_exp;
delete[] rsa_n_exp;
delete[] rsa_d_exp;

} else
::Info("TAuthenticate::DecodeRSAPublic","bad format for input string");
Expand Down