mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-23 17:03:12 -05:00
sys: FspFileContextDelete: bug fix (thanks Driver Verifier!)
This commit is contained in:
parent
0bbc1b4a43
commit
b5f41f0475
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user