From: Pierre Joye Date: Mon, 18 May 2009 20:57:24 +0000 (+0000) Subject: - MFB: close manually the impersonation token X-Git-Tag: php-5.4.0alpha1~191^2~3620 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9ef3984d7145791d437e2f6138a4ebbc23bf555d;p=php - MFB: close manually the impersonation token --- diff --git a/TSRM/tsrm_win32.c b/TSRM/tsrm_win32.c index acddc46868..5c30ce58c9 100644 --- a/TSRM/tsrm_win32.c +++ b/TSRM/tsrm_win32.c @@ -68,6 +68,10 @@ static void tsrm_win32_dtor(tsrm_win32_globals *globals TSRMLS_DC) } free(globals->comspec); + + If(globals->impersonation_token) { + CloseHandle(globals->impersonation_token); + } } TSRM_API void tsrm_win32_startup(void)