]> granicus.if.org Git - php/commitdiff
- MFB: close manually the impersonation token
authorPierre Joye <pajoye@php.net>
Mon, 18 May 2009 20:57:24 +0000 (20:57 +0000)
committerPierre Joye <pajoye@php.net>
Mon, 18 May 2009 20:57:24 +0000 (20:57 +0000)
TSRM/tsrm_win32.c

index acddc46868c38e205417ce3503ecdd6a918f6cc4..5c30ce58c9bd2934f05e069b6a64762ca90e1d7c 100644 (file)
@@ -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)