Commit c4902e88 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Don't unlock if we've never locked.

parent e5f503c2
......@@ -210,8 +210,7 @@ int ldap_domain2hostlist(
request = LDAP_MALLOC(strlen(domain) + sizeof("_ldap._tcp."));
if (request == NULL) {
rc = LDAP_NO_MEMORY;
goto out;
return LDAP_NO_MEMORY;
}
sprintf(request, "_ldap._tcp.%s", domain);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment