From: Pierre Joye Date: Mon, 18 May 2009 20:56:46 +0000 (+0000) Subject: - close manually the impersonation token X-Git-Tag: php-5.3.0RC3~216 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aedaf1aea9807c2c84bf5d96c26dd356dbbdcfe1;p=php - close manually the impersonation token --- diff --git a/TSRM/tsrm_win32.c b/TSRM/tsrm_win32.c index 9e7ece0ed3..5ab39856c2 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)