diff options
author | Tim Potter <tpot@samba.org> | 2002-11-05 23:19:38 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-11-05 23:19:38 +0000 |
commit | 48ed9dce0dab53066d3304baa0f24639a1f1755b (patch) | |
tree | 6f5195dac46a27709aed1eb3a05038523df09e03 /source/nsswitch | |
parent | 44db20f9f63d72c2e6e1f4ffedf72d75563369fb (diff) | |
download | samba-48ed9dce0dab53066d3304baa0f24639a1f1755b.tar.gz samba-48ed9dce0dab53066d3304baa0f24639a1f1755b.tar.xz samba-48ed9dce0dab53066d3304baa0f24639a1f1755b.zip |
Merge of lp_talloc_free() call in init_domain_list() from APPLIANCE.
Diffstat (limited to 'source/nsswitch')
-rw-r--r-- | source/nsswitch/winbindd_util.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/nsswitch/winbindd_util.c b/source/nsswitch/winbindd_util.c index ebca273d702..e3f00149f7f 100644 --- a/source/nsswitch/winbindd_util.c +++ b/source/nsswitch/winbindd_util.c @@ -214,10 +214,17 @@ BOOL init_domain_list(void) result = cache_methods.domain_sid(domain, &domain->sid); while (!NT_STATUS_IS_OK(result)) { + sleep(10); DEBUG(1,("Retrying startup domain sid fetch for %s\n", domain->name)); result = cache_methods.domain_sid(domain, &domain->sid); + + /* If we don't call lp_talloc_free() here we end up + accumulating memory in the "global" lp_talloc in + param/loadparm.c */ + + lp_talloc_free(); } /* get any alternate name for the primary domain */ |