summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/trusts_util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libsmb/trusts_util.c b/source3/libsmb/trusts_util.c
index f7b2c2e3a6..b8f84ba890 100644
--- a/source3/libsmb/trusts_util.c
+++ b/source3/libsmb/trusts_util.c
@@ -155,6 +155,8 @@ BOOL is_trusted_domain(const char* dom_name)
}
} while (NT_STATUS_EQUAL(result, STATUS_MORE_ENTRIES));
+ talloc_destroy(mem_ctx);
+
/*
* Query the trustdom_cache updated periodically. The only
* way for domain member server.