1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

Fix a memory leak - 'smbcontrol smbd pool-usage' is your freind!

Andrew Bartlett
This commit is contained in:
Andrew Bartlett -
parent 39124b9a62
commit a12e852499

View File

@ -155,6 +155,8 @@ BOOL is_trusted_domain(const char* dom_name)
} }
} while (NT_STATUS_EQUAL(result, STATUS_MORE_ENTRIES)); } while (NT_STATUS_EQUAL(result, STATUS_MORE_ENTRIES));
talloc_destroy(mem_ctx);
/* /*
* Query the trustdom_cache updated periodically. The only * Query the trustdom_cache updated periodically. The only
* way for domain member server. * way for domain member server.