From: Volker Lendecke Date: Sun, 23 Mar 2008 18:26:35 +0000 (+0100) Subject: Fix Coverity ID 487 X-Git-Tag: samba-3.3.0pre1~3141 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=22cee9c1afbc33b4920b72bc81569d79642172af;p=thirdparty%2Fsamba.git Fix Coverity ID 487 --- 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; }