Skip to content

Investigate LeakSanitizer reports

Building with -fsanitize=address (on Linux, gcc or clang) reports a bunch of memory leaks.

The resulting stderr output on test/valid/hello.pdf: leak.log

Versions used:

  • gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
  • hammer 5b4ea5463e7adc0cfb65a7e637e9bf2c1eda1bad (2023-02-16)
  • pdf 91fe41c8 (2023-01-13)