Skip to content

Commit

Permalink
Fix mem leak
Browse files Browse the repository at this point in the history
  • Loading branch information
ashman-p committed Sep 15, 2023
1 parent f2f04d0 commit 6e4e995
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_sig_stfl.c
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,7 @@ static OQS_STATUS sig_stfl_test_correctness(const char *method_name, const char
if (signature) {
OQS_MEM_insecure_free(signature - sizeof(magic_t));
}
OQS_MEM_secure_free(sk_buf, sk_buf_len);
OQS_SIG_STFL_free(sig);

OQS_MEM_insecure_free(read_pk_buf);
Expand Down

0 comments on commit 6e4e995

Please sign in to comment.