dlz_bind9: Avoid talloc_new(NULL), use a parent variable
commit9f9b80c79a207d8d6d4ad3cdc671e23ec8392c67
authorAndrew Bartlett <abartlet@samba.org>
Fri, 27 Mar 2020 03:10:44 +0000 (27 16:10 +1300)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 1 Apr 2020 08:51:31 +0000 (1 08:51 +0000)
tree99a03f4342d36ca32ae7020a51910a2d6e1a3290
parent963a99f1d823f2b62697464381778b21a62887c7
dlz_bind9: Avoid talloc_new(NULL), use a parent variable

This will help provide a better memory tree if we ever suspect a problem
here.  The tmp_ctx varaible is always freed before the end of this
function.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source4/dns_server/dlz_bind9.c