Don't unlock if we've never locked.

This commit is contained in:
Kurt Zeilenga 2002-01-07 20:18:38 +00:00
parent e5f503c24a
commit c4902e88d5

View File

@ -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);