summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 7d4725d6..68cb47cd 100644
--- a/src/providers/ldap/sdap_sudo.c
+++ b/src/providers/ldap/sdap_sudo.c
@@ -142,6 +142,7 @@ void sdap_sudo_handler(struct be_req *be_req)
return;
fail:
+ talloc_free(sudo_ctx);
be_req->fn(be_req, DP_ERR_FATAL, ret, NULL);
}