mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-27 10:09:43 -05:00
Don't unlock if we've never locked.
This commit is contained in:
parent
e5f503c24a
commit
c4902e88d5
1 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue