Properly close token in sspi authentication

Magnus Hagander <magnus@hagander.net>

Commit: df0bd5a0f7e8893e1177f53b1ca126ffaf24160e
Author: Magnus Hagander <magnus@hagander.net>
Date: 2016-01-14T12:07:55Z
Releases: 9.2.15
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

Files

PathChange+/−
src/backend/libpq/auth.c modified +2 −0