mirror of
https://git.openafs.org/openafs.git
synced 2025-02-01 05:57:43 +00:00
Windows: Freeing SeQueryInformationToken allocations
Memory allocated by SeQueryInformationToken() must be freed with ExFreePool() and not AFSExFreePool(). Change-Id: Iece2c37d5dc524204cbf3d8d6869148e1a0ce88e Reviewed-on: http://gerrit.openafs.org/7806 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com> Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
This commit is contained in:
parent
3ec1bdf9c7
commit
8a11435eed
@ -1787,7 +1787,7 @@ try_exit:
|
||||
|
||||
if( pTokenInfo != NULL)
|
||||
{
|
||||
AFSExFreePool( pTokenInfo);
|
||||
ExFreePool( pTokenInfo); // Allocated by SeQueryInformationToken
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -7614,7 +7614,7 @@ try_exit:
|
||||
if( pTokenInfo != NULL)
|
||||
{
|
||||
|
||||
AFSExFreePool( pTokenInfo);
|
||||
ExFreePool( pTokenInfo); // Allocated by SeQueryInformationToken
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user