mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
r24166: Fix Coverity ID 391
This commit is contained in:
parent
59b4914df3
commit
461974d2cc
@ -2723,7 +2723,7 @@ ADS_STATUS ads_site_dn_for_machine(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx, const c
|
||||
if (*site_dn == NULL) {
|
||||
ads_msgfree(ads, res);
|
||||
ads_memfree(ads, dn);
|
||||
ADS_ERROR(LDAP_NO_MEMORY);
|
||||
return ADS_ERROR(LDAP_NO_MEMORY);
|
||||
}
|
||||
|
||||
ads_memfree(ads, dn);
|
||||
|
Loading…
Reference in New Issue
Block a user