Properly close token in sspi authentication
authorMagnus Hagander <[email protected]>
Thu, 14 Jan 2016 12:06:03 +0000 (13:06 +0100)
committerMagnus Hagander <[email protected]>
Thu, 14 Jan 2016 12:08:10 +0000 (13:08 +0100)
commitb1c0f92eb690388a0739bee2793f5ae8baf5d0bb
tree6ac549f3f61a74f26db376f324a6f1858c6e0053
parent5108013dbbfedb5e5af6a58cde5f074d895c46bf
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