summaryrefslogtreecommitdiff
path: root/source3/winbindd/idmap_tdb_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/winbindd/idmap_tdb_common.c')
-rw-r--r--source3/winbindd/idmap_tdb_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/winbindd/idmap_tdb_common.c b/source3/winbindd/idmap_tdb_common.c
index 6f700b848b..2b16d0ba31 100644
--- a/source3/winbindd/idmap_tdb_common.c
+++ b/source3/winbindd/idmap_tdb_common.c
@@ -462,6 +462,7 @@ NTSTATUS idmap_tdb_common_sid_to_unixid(struct idmap_domain * dom,
TALLOC_CTX *tmp_ctx = talloc_stackframe();
if (!dom || !map) {
+ talloc_free(tmp_ctx);
return NT_STATUS_INVALID_PARAMETER;
}