Several functions in source3/smbd/lanman.c pass 'conn' as memory context to rpc_pipe_open_interface(), but the result of rpc_pipe_open_interface() is only use temporary. We should consistently use memory from 'talloc_tos()' for this and a avoid memory leaks.
Created attachment 13355 [details] Patch for v4-7-test
Created attachment 13356 [details] Patch for v4-6-test
Created attachment 13357 [details] Patch for v4-5-test
Re-assigning to Karolin for inclusion in 4.7.0, 4.6.next, 4.5.next.
Pushed to autobuild-v4-{5,6,7}-test
(In reply to Stefan Metzmacher from comment #5) Pushed to v4-7-test