https://git.reactos.org/?p=reactos.git;a=commitdiff;h=7601011f4ed578ae4a15a5...
commit 7601011f4ed578ae4a15a55298ebbe96fe3a1129 Author: Pierre Schweitzer pierre@reactos.org AuthorDate: Sat Oct 21 14:13:44 2017 +0200
[MOUNTMGR] Don't attempt to free random address on failure CID 515354 --- drivers/filters/mountmgr/point.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/filters/mountmgr/point.c b/drivers/filters/mountmgr/point.c index b65c22cab7..d9a468f32c 100644 --- a/drivers/filters/mountmgr/point.c +++ b/drivers/filters/mountmgr/point.c @@ -322,7 +322,7 @@ QueryPointsFromMemory(IN PDEVICE_EXTENSION DeviceExtension, { if (DeviceEntry == &(DeviceExtension->DeviceListHead)) { - if (DeviceName.Buffer) + if (SymbolicName) { FreePool(DeviceName.Buffer); }