Use talloc_stackframe() not talloc_tos() in namequery.c
authorAndrew Bartlett <abartlet@samba.org>
Thu, 26 Oct 2017 03:06:27 +0000 (16:06 +1300)
committerGarming Sam <garming@samba.org>
Mon, 20 Nov 2017 20:41:15 +0000 (21:41 +0100)
commitf0e3c2daf901fa4413d3178d6c7a18fba13ccf91
tree3af5056da1a23d68833f804394184e5a69caacca
parent3ba077f4dbda30d085823509b0aee132ff91edb6
Use talloc_stackframe() not talloc_tos() in namequery.c

The pygpo code calls these functions but there was not stackframe set up so
tallos_tos() fails.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
source3/libsmb/namequery.c