https://bugs.openldap.org/show_bug.cgi?id=10198
--- Comment #2 from Howard Chu hyc@openldap.org --- I'm traveling at the moment and it's not convenient for me to spin up a Windows VM to check this right now, but changing the last argument to NULL looks like a perfectly good fix so far. Will check later.