summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-08-04 10:25:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:29:17 -0500
commit8476d072d34ee8a9562aa99d628484926939ebdd (patch)
tree7f2a15f38d79653a17befaf24e1ee236e177284c
parentd7b7ef4a3375cd3302fbab4c208e3dddc4e4a037 (diff)
downloadsamba-8476d072d34ee8a9562aa99d628484926939ebdd.tar.gz
samba-8476d072d34ee8a9562aa99d628484926939ebdd.tar.bz2
samba-8476d072d34ee8a9562aa99d628484926939ebdd.zip
r24166: Fix Coverity ID 391
(This used to be commit 461974d2cc18c729f152356a9c30cc776f288906)
-rw-r--r--source3/libads/ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c
index 6c9bde24b0..f8c47ca5be 100644
--- a/source3/libads/ldap.c
+++ b/source3/libads/ldap.c
@@ -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);