librpc: Free krb5 context on error
authorSwen Schillig <swen@linux.ibm.com>
Wed, 21 Nov 2018 11:53:30 +0000 (12:53 +0100)
committerRalph Boehme <slow@samba.org>
Thu, 22 Nov 2018 07:22:18 +0000 (08:22 +0100)
commit1a6451decfbffe10d72ad1c1221a4e9bccf04055
treea46c258e8373cbe7dd12cda46f846490ac8d4325
parent7f902798a7f43ea84fb7757ea6b917a4717f99e0
librpc: Free krb5 context on error

If the call to krb5_cc_resolve() fails and processing is aborted,
the krb5 conext must be free'd before return.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/librpc/crypto/gse.c