Closed s3rvac closed 2 years ago
Thank you very much for the report, those are real use after free issues due to bad free()
order in some rare error handling branches. I am surprised that the older version, clang, msvc or cppcheck didn't pick up on this.
Thank you for a quick fix :+1:. I can confirm that there are no longer any warnings.
When building the library on Arch Linux with GCC 12, several use-after-free warnings are emitted.
Steps to reproduce:
Expected output:
No warnings are reported.
Actual output: