mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
parent
433a05c1ab
commit
ad00ecd358
@ -64,6 +64,8 @@ ADS_STATUS ads_guess_service_principal(ADS_STRUCT *ads,
|
||||
server_realm = SMB_STRDUP(ads->server.realm);
|
||||
|
||||
if (!server || !server_realm) {
|
||||
SAFE_FREE(server);
|
||||
SAFE_FREE(server_realm);
|
||||
return ADS_ERROR(LDAP_NO_MEMORY);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user