smbspool: Free kerberos context on error
authorSwen Schillig <swen@linux.ibm.com>
Wed, 21 Nov 2018 09:21:46 +0000 (10:21 +0100)
committerRalph Boehme <slow@samba.org>
Thu, 22 Nov 2018 07:22:18 +0000 (08:22 +0100)
commita3dd28c635206272673ea1f62b35121c7e808db4
treecbe249d03609a9f463202adf99521ab55dbb83b3
parent02514427dba74325510137655a3788e70e29c82d
smbspool: Free kerberos context on error

If processing cannot continue and the function returns
the kerberos context must be free'd.

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