mirror of
https://github.com/winfsp/winfsp.git
synced 2025-06-14 15:52:47 -05:00
sys: FspFileContextDelete: bug fix (thanks Driver Verifier!)
This commit is contained in:
@ -59,6 +59,10 @@ VOID FspFileContextDelete(FSP_FILE_CONTEXT *FsContext)
|
||||
PAGED_CODE();
|
||||
|
||||
FsRtlTeardownPerStreamContexts(&FsContext->Header);
|
||||
|
||||
ExDeleteResourceLite(&FsContext->NonPaged->PagingIoResource);
|
||||
ExDeleteResourceLite(&FsContext->NonPaged->Resource);
|
||||
ExFreePoolWithTag(FsContext->NonPaged, FSP_TAG);
|
||||
|
||||
ExFreePoolWithTag(FsContext, FSP_TAG);
|
||||
}
|
||||
|
Reference in New Issue
Block a user