]> git.ipfire.org Git - thirdparty/samba.git/commit
ndr: pull_dns_string: drop nbt/dns mem_ctx difference
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Wed, 20 May 2020 07:18:14 +0000 (19:18 +1200)
committerDouglas Bagnall <dbagnall@samba.org>
Thu, 16 Apr 2026 00:54:43 +0000 (00:54 +0000)
commite572ea59ce50061fbff6bf4646fa70685c24d850
tree5d37884d0115ed45c95cc93dd89b17f7ff73971d
parentf00fa3448405e7faf9eb447b6b178ef346a65312
ndr: pull_dns_string: drop nbt/dns mem_ctx difference

Until now NBT and DNS have used talloc contexts of different lifetimes
to allocate component strings. The actual talloc context doesn't
really matter -- these strings are immediately copied and can be freed
straight after. So that is what we do.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14378

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
librpc/ndr/ndr_dns_utils.c