* security.cc (create_token): Close processes token handle as soon
as it's not used anymore.
This commit is contained in:
parent
13baedeb74
commit
2d3dab2ea5
|
@ -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.
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Reference in New Issue