mirror of
https://github.com/reactos/reactos.git
synced 2025-04-27 09:00:27 +00:00
[MOUNTMGR] Don't attempt to free random address on failure
CID 515354
This commit is contained in:
parent
3a06e69a11
commit
7601011f4e
1 changed files with 1 additions and 1 deletions
|
@ -322,7 +322,7 @@ QueryPointsFromMemory(IN PDEVICE_EXTENSION DeviceExtension,
|
||||||
{
|
{
|
||||||
if (DeviceEntry == &(DeviceExtension->DeviceListHead))
|
if (DeviceEntry == &(DeviceExtension->DeviceListHead))
|
||||||
{
|
{
|
||||||
if (DeviceName.Buffer)
|
if (SymbolicName)
|
||||||
{
|
{
|
||||||
FreePool(DeviceName.Buffer);
|
FreePool(DeviceName.Buffer);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue