-
Hello, I'm using openssl 3.0 (github checkout, compiled using clang on ubunutu 20.04, with -api 3.0 no-deprecated options):
Using the following very simple sample of code (stripped from real error management), clang sanitize-address reports memory leak which I don't seem to have the hand on:
Extract of binary (compiled with clang and option Indirect leak of 12416 byte(s) in 16 object(s) allocated from: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
The
The |
Beta Was this translation helpful? Give feedback.
-
Could you please paste the full leak sanitizer output? Or is this everything? How do you release the EVP_PKEY object? |
Beta Was this translation helpful? Give feedback.
Thank you @t8m !
Yes,
EVP_PKEY_free
is the right answer.Even though we're trying hard to call it, in some use cases.