summaryrefslogtreecommitdiff
path: root/src/providers/ldap
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2012-07-09 11:37:49 -0400
committerStephen Gallagher <sgallagh@redhat.com>2012-07-09 13:49:21 -0400
commitbda8094867476bf5adcfe3409e34b09add50c9b4 (patch)
treed4030d9b24ddc17beab77598148e21341ce96644 /src/providers/ldap
parent7dcf7275974021848cdd57781abc7eb9aa77feed (diff)
downloadsssd-bda8094867476bf5adcfe3409e34b09add50c9b4.tar.gz
sssd-bda8094867476bf5adcfe3409e34b09add50c9b4.tar.bz2
sssd-bda8094867476bf5adcfe3409e34b09add50c9b4.zip
Fix uninitialized variable
Coverity #12802
Diffstat (limited to 'src/providers/ldap')
-rw-r--r--src/providers/ldap/sdap_sudo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap_sudo.c b/src/providers/ldap/sdap_sudo.c
index 1d33b5dc..0d590023 100644
--- a/src/providers/ldap/sdap_sudo.c
+++ b/src/providers/ldap/sdap_sudo.c
@@ -841,6 +841,7 @@ static struct tevent_req *sdap_sudo_smart_refresh_send(TALLOC_CTX *mem_ctx,
ldap_full_filter = sdap_sudo_get_filter(state, map, sudo_ctx, ldap_filter);
if (ldap_full_filter == NULL) {
+ ret = ENOMEM;
goto immediately;
}