summaryrefslogtreecommitdiffstats
path: root/source/libads
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-03-23 19:26:35 +0100
committerVolker Lendecke <vl@samba.org>2008-03-23 19:44:55 +0100
commit22cee9c1afbc33b4920b72bc81569d79642172af (patch)
tree04cbdd426a3ff8e35521d3666c60c786e2775640 /source/libads
parentd3b6df67fea0da5ffa962837400ebe07b34a5384 (diff)
downloadsamba-22cee9c1afbc33b4920b72bc81569d79642172af.tar.gz
samba-22cee9c1afbc33b4920b72bc81569d79642172af.tar.xz
samba-22cee9c1afbc33b4920b72bc81569d79642172af.zip
Fix Coverity ID 487
Diffstat (limited to 'source/libads')
-rw-r--r--source/libads/ldap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/libads/ldap.c b/source/libads/ldap.c
index 9ec06e5a1d5..00d36b7edcb 100644
--- a/source/libads/ldap.c
+++ b/source/libads/ldap.c
@@ -3413,6 +3413,7 @@ ADS_STATUS ads_find_samaccount(ADS_STRUCT *ads,
filter = talloc_asprintf(mem_ctx, "(&(objectclass=user)(sAMAccountName=%s))",
samaccountname);
if (filter == NULL) {
+ status = ADS_ERROR_NT(NT_STATUS_NO_MEMORY);
goto out;
}