s3:smbd: consistently use talloc_tos() memory for rpc_pipe_open_interface()
authorStefan Metzmacher <metze@samba.org>
Mon, 10 Jul 2017 09:29:58 +0000 (11:29 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 10 Jul 2017 21:22:10 +0000 (23:22 +0200)
commit77cbced5d2f8bf65c8d02f5edfaba8cbad519d08
tree9af3709dcd0242f7af8223c2214f0bf12490f3bc
parent305eb1b6f4e963ddf07ddf13e9f375248130a240
s3:smbd: consistently use talloc_tos() memory for rpc_pipe_open_interface()

The result is only used temporary and should not be leaked on a long term
memory context as 'conn'.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/lanman.c
source3/smbd/reply.c