Properly close token in sspi authentication
authorMagnus Hagander
Thu, 14 Jan 2016 12:06:03 +0000 (13:06 +0100)
committerMagnus Hagander
Thu, 14 Jan 2016 12:07:45 +0000 (13:07 +0100)
commit77d8edcf5443a7047b2dc792300255ec129228cf
tree7d7c2d187599d4e720b71677ba8a0b91f76ab193
parentb87403f7037c001f750d486cf00c4325ce2eb014
Properly close token in sspi authentication

We can never leak more than one token, but we shouldn't do that. We
don't bother closing it in the error paths since the process will
exit shortly anyway.

Christian Ullrich
src/backend/libpq/auth.c