summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/sudoers/ldap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/sudoers/ldap.c b/plugins/sudoers/ldap.c
index a09567126..37b1efd19 100644
--- a/plugins/sudoers/ldap.c
+++ b/plugins/sudoers/ldap.c
@@ -1860,7 +1860,6 @@ sudo_ldap_result_get(const struct sudo_nss *nss, struct passwd *pw)
DPRINTF1("result now has %d entries", lres->nentries);
}
free(filt);
- filt = NULL;
} else if (errno != ENOENT) {
/* Out of memory? */
goto oom;