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:35 +0000 (13:07 +0100)
commitab49f87d5cd4f70fdfe606449ebe1369aa6cbb61
treeb737cf79bbb4a59e7297f1b43b7f1f333c7b4827
parent7393208b512545034061edce5d124090270f8bac
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