* security.cc (create_token): Close processes token handle as soon

as it's not used anymore.
This commit is contained in:
Corinna Vinschen 2002-01-19 16:06:11 +00:00
parent 13baedeb74
commit 2d3dab2ea5
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-01-19 Corinna Vinschen <corinna@vinschen.de>
* security.cc (create_token): Close processes token handle as soon
as it's not used anymore.
2002-01-17 Corinna Vinschen <corinna@vinschen.de>
* Makefile.in: Add fnmatch.o to DLL_OFILES.

View File

@ -779,6 +779,7 @@ create_token (cygsid &usersid, cygsid &pgrpsid)
free (my_grps);
my_grps = NULL;
}
CloseHandle (my_token);
}
/* Create list of groups, the user is member in. */