s3: rpcclient: Use event context as the talloc parent of the rpcclient_msg_ctx.
authorJeremy Allison <jra@samba.org>
Mon, 24 Jul 2017 20:12:20 +0000 (13:12 -0700)
committerJeremy Allison <jra@samba.org>
Wed, 26 Jul 2017 19:35:22 +0000 (21:35 +0200)
commitb1450af1c3c7ddc0573510706d605eedecaff61c
tree0e653470aa68376926f275fbe8fd939c787df7d6
parent1d6b98cdab4f0a400673cf967225214e858ab1ee
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>
source3/rpcclient/rpcclient.c