s3: rpcclient: Split out initialization and free of event context.
commit48804386b983e21f4aab3c90a1d0178f41db33d6
authorJeremy Allison <jra@samba.org>
Mon, 24 Jul 2017 20:10:30 +0000 (24 13:10 -0700)
committerKarolin Seeger <kseeger@samba.org>
Thu, 17 Aug 2017 08:38:21 +0000 (17 10:38 +0200)
treece654fe3052ae0b5cc091efac416911085291aea
parent65a90719213dd5f886a4c62586d64c77394906a0
s3: rpcclient: Split out initialization and free of event context.

Allows us to control 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 1d6b98cdab4f0a400673cf967225214e858ab1ee)
source3/rpcclient/rpcclient.c