diff --git a/tests/test_sig_stfl.c b/tests/test_sig_stfl.c index 58ccb30f63..3f830d13cb 100644 --- a/tests/test_sig_stfl.c +++ b/tests/test_sig_stfl.c @@ -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);