Skip to content

Commit d0bf032

Browse files
committed
Fix memory leak in rs256_from_coords
1 parent d5ea0fe commit d0bf032

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/scitokens_internal.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -527,8 +527,6 @@ std::string rs256_from_coords(const std::string &e_str,
527527
throw UnsupportedKeyException("Failed to serialize RSA public key");
528528
}
529529
#endif
530-
e_bignum.release();
531-
n_bignum.release();
532530

533531
char *mem_data;
534532
size_t mem_len = BIO_get_mem_data(pubkey_bio.get(), &mem_data);

0 commit comments

Comments
 (0)