gss: free user keytab before resolving system keytab
authorLuke Howard <lukeh@padl.com>
Thu, 16 Apr 2020 07:19:35 +0000 (07:19 +0000)
committerLuke Howard <lukeh@padl.com>
Thu, 16 Apr 2020 07:22:31 +0000 (17:22 +1000)
commitc70540480bc357f844f4785a784ba3aac0d6f922
treef402f93fc3213a4e9ddea064268bb2b2e65b49f0
parent9eab344d35786444cde0eab100e976e195cc5f89
gss: free user keytab before resolving system keytab

get_client_keytab() leaked the user keytab if it resolved but we could not find
the client principal. Free it before trying the system keytab.
lib/gssapi/krb5/acquire_cred.c