diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-03-17 04:42:57 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-03-17 04:42:57 +0000 |
commit | 0ab29d6186135bd66c4154b545ac8323232a6f2e (patch) | |
tree | cb8a2c9b0c30938672fdbaf896b70a8255be73e3 | |
parent | 077e093d8ae79519baa7edc0c4cbd5b4b853a19a (diff) | |
download | samba-0ab29d6186135bd66c4154b545ac8323232a6f2e.tar.gz samba-0ab29d6186135bd66c4154b545ac8323232a6f2e.tar.bz2 samba-0ab29d6186135bd66c4154b545ac8323232a6f2e.zip |
Fix a memory leak - 'smbcontrol smbd pool-usage' is your freind!
Andrew Bartlett
(This used to be commit a12e8524997e329a4f4cd766d6371e384698795a)
-rw-r--r-- | source3/libsmb/trusts_util.c | 2 |
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. |