diff options
author | Volker Lendecke <vl@samba.org> | 2008-03-23 19:26:35 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-03-23 19:44:55 +0100 |
commit | 561fb9daa4fa361e5db57bcc64f3a3114c6623fa (patch) | |
tree | 2718e1860954f42b08ad2eb075286108329a623c /source3/libads | |
parent | fac2d8546bea0ce9d6d68f37eaf6ed7c21577841 (diff) | |
download | samba-561fb9daa4fa361e5db57bcc64f3a3114c6623fa.tar.gz samba-561fb9daa4fa361e5db57bcc64f3a3114c6623fa.tar.bz2 samba-561fb9daa4fa361e5db57bcc64f3a3114c6623fa.zip |
Fix Coverity ID 487
(This used to be commit 22cee9c1afbc33b4920b72bc81569d79642172af)
Diffstat (limited to 'source3/libads')
-rw-r--r-- | source3/libads/ldap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c index 9ec06e5a1d..00d36b7edc 100644 --- a/source3/libads/ldap.c +++ b/source3/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; } |