mirror of
https://github.com/winfsp/winfsp.git
synced 2026-11-02 07:06:04 -06:00
sys: FspFileContextDelete: bug fix (thanks Driver Verifier!)
This commit is contained in:
1 parent
0bbc1b4a43
commit
b5f41f0475
1 file changed
+4
@@ -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