Skip to content

Commit

Permalink
Merge pull request #72 from DaoCasino/cyb-561-fix-rsa-leak
Browse files Browse the repository at this point in the history
[CYB-561] fix rsa memory leak
  • Loading branch information
algys authored Jul 19, 2020
2 parents fb08e9f + ccbe918 commit c7c7962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/chain/include/eosio/chain/rsa.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ namespace fc {

~rsa_public_key() {
if (rsa) {
delete rsa;
RSA_free(rsa);
}
}

Expand Down

0 comments on commit c7c7962

Please sign in to comment.