1
0
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:
Volker Lendecke 2007-08-04 10:25:27 +00:00 committed by Gerald (Jerry) Carter
parent 59b4914df3
commit 461974d2cc

View File

@ -2723,7 +2723,7 @@ ADS_STATUS ads_site_dn_for_machine(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx, const c
if (*site_dn == NULL) { if (*site_dn == NULL) {
ads_msgfree(ads, res); ads_msgfree(ads, res);
ads_memfree(ads, dn); ads_memfree(ads, dn);
ADS_ERROR(LDAP_NO_MEMORY); return ADS_ERROR(LDAP_NO_MEMORY);
} }
ads_memfree(ads, dn); ads_memfree(ads, dn);