https://bugs.openldap.org/show_bug.cgi?id=10404
--- Comment #18 from tomas.bjorklund@su.se --- (In reply to Howard Chu from comment #15)
You're using SASL/GSSAPI? Please rerun valgrind with --keep-debuginfo=yes, otherwise the SASL mech symbols are lost when the modules are unloaded.
It's not necessary to show reachable memory, we only need to look at the blocks that valgrind says are definitely lost.
Which version of Cyrus SASL are you using?
OpenLDAP does all connection setup and teardown correctly according to whatever documented APIs.
We have version 2.1.28+dfsg1-9 amd64
We have reinstall the server so it's fresh and should not have any 3rd party patches. I will upload a new log file with only memory that is definitely lost.