s3: rpcclient: Use event context as the talloc parent of the rpcclient_msg_ctx.
commitfc3c124662c92cbb3d58ac110c22b16b56403491
authorJeremy Allison <jra@samba.org>
Mon, 24 Jul 2017 20:12:20 +0000 (24 13:12 -0700)
committerKarolin Seeger <kseeger@samba.org>
Thu, 17 Aug 2017 08:38:21 +0000 (17 10:38 +0200)
tree379fd610d9b7a72ad5a01394a8fbe993442631ed
parent48804386b983e21f4aab3c90a1d0178f41db33d6
s3: rpcclient: Use event context as the talloc parent of the rpcclient_msg_ctx.

Give control over shutdown.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit b1450af1c3c7ddc0573510706d605eedecaff61c)
source3/rpcclient/rpcclient.c