http://git.etherboot.org
/
mirror
/
winof
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
winverbs: free port array
[mirror/winof/.git]
/
core
/
winverbs
/
kernel
/
wv_device.c
diff --git
a/core/winverbs/kernel/wv_device.c
b/core/winverbs/kernel/wv_device.c
index
5cc20bd
..
846f0b0
100644
(file)
--- a/
core/winverbs/kernel/wv_device.c
+++ b/
core/winverbs/kernel/wv_device.c
@@
-367,6
+367,9
@@
static void WvDeviceFreePorts(WV_DEVICE *pDevice)
WdfIoQueuePurgeSynchronously(pDevice->pPorts[i].Queue);
\r
WdfObjectDelete(pDevice->pPorts[i].Queue);
\r
}
\r
+ if (pDevice->pPorts != NULL) {
\r
+ ExFreePoolWithTag(pDevice->pPorts, 'cpvw');
\r
+ }
\r
}
\r
\r
void WvDeviceFree(WV_DEVICE *pDevice)
\r