[Issue 9299] Memory leaks in ldap_simple_bind_s