Properly close token in sspi authentication

Magnus Hagander <magnus@hagander.net>

Commit: b1c0f92eb690388a0739bee2793f5ae8baf5d0bb
Author: Magnus Hagander <magnus@hagander.net>
Date: 2016-01-14T12:08:10Z
Releases: 9.1.20
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