projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[WDMAUD_KERNEL]
[reactos.git]
/
reactos
/
drivers
/
wdm
/
audio
/
legacy
/
wdmaud
/
control.c
diff --git
a/reactos/drivers/wdm/audio/legacy/wdmaud/control.c
b/reactos/drivers/wdm/audio/legacy/wdmaud/control.c
index
3af87b8
..
d41b5da
100644
(file)
--- a/
reactos/drivers/wdm/audio/legacy/wdmaud/control.c
+++ b/
reactos/drivers/wdm/audio/legacy/wdmaud/control.c
@@
-464,6
+464,13
@@
WdmAudReadWrite(
return SetIrpIoStatus(Irp, Status, 0);
}
+ /* check if mdl is locked */
+ if (Mdl->MdlFlags & MDL_PAGES_LOCKED)
+ {
+ /* unlock pages */
+ MmUnlockPages(Mdl);
+ }
+
/* now free the mdl */
IoFreeMdl(Mdl);