Properly close token in sspi authentication

Magnus Hagander <magnus@hagander.net>

Commit: 3276ca303d44025a5e1232a1e62152ea95a26b03
Author: Magnus Hagander <magnus@hagander.net>
Date: 2016-01-14T12:07:20Z
Releases: 9.5.1
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