From 22cee9c1afbc33b4920b72bc81569d79642172af Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 23 Mar 2008 19:26:35 +0100 Subject: [PATCH] Fix Coverity ID 487 --- source/libads/ldap.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.47.3