diff --git a/sys/dokan.c b/sys/dokan.c index ce20b9335..06360f726 100644 --- a/sys/dokan.c +++ b/sys/dokan.c @@ -356,6 +356,7 @@ Return Value: IoDeleteDevice(dokanGlobal->FsDiskDeviceObject); IoDeleteDevice(dokanGlobal->FsCdDeviceObject); + ExDeleteResourceLite(&dokanGlobal->Resource); IoDeleteDevice(deviceObject); }