Skip to content

Commit

Permalink
Kernel - Clean DokanGlobal resource in DokanUnload
Browse files Browse the repository at this point in the history
  • Loading branch information
Liryna committed Mar 18, 2017
1 parent a0d81b0 commit a56a217
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sys/dokan.c
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ Return Value:

IoDeleteDevice(dokanGlobal->FsDiskDeviceObject);
IoDeleteDevice(dokanGlobal->FsCdDeviceObject);
ExDeleteResourceLite(&dokanGlobal->Resource);
IoDeleteDevice(deviceObject);
}

Expand Down

0 comments on commit a56a217

Please sign in to comment.