diff options
author | Stefan Metzmacher <metze@samba.org> | 2014-07-30 17:57:13 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2014-09-08 07:49:10 +0200 |
commit | ce13047b895d7fd8667489ebba873ab90b359aff (patch) | |
tree | e2edc58a7e54630593ccb2ba9edcd96e6dd90673 /source4 | |
parent | 889e95889f1dc1e4247265a49fb1a2d4b5a4f316 (diff) | |
download | samba-ce13047b895d7fd8667489ebba873ab90b359aff.tar.gz |
s4:dlz_bind9: do an early talloc_free(el_ctx) in dlz_allnodes()
We don't have to keep everything arround while walking the whole zone.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 5d397c8198bcd2cdccc3deda57377d4696e6abd1)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/dns_server/dlz_bind9.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/dns_server/dlz_bind9.c b/source4/dns_server/dlz_bind9.c index 46c586edeb1..01700a55e12 100644 --- a/source4/dns_server/dlz_bind9.c +++ b/source4/dns_server/dlz_bind9.c @@ -980,6 +980,8 @@ _PUBLIC_ isc_result_t dlz_allnodes(const char *zone, void *dbdata, continue; } } + + talloc_free(el_ctx); } talloc_free(tmp_ctx); |