mirror of
https://github.com/reactos/reactos.git
synced 2024-07-23 20:58:16 +00:00
- Free BusInterface only if it was really alloc'd
- Remove svn:needs-lock property from this [stub]-driver svn path=/trunk/; revision=29399
This commit is contained in:
parent
5e5a42e89b
commit
7b9b1a8536
|
@ -78,7 +78,7 @@ GetBusInterface(
|
|||
Status = STATUS_SUCCESS;
|
||||
|
||||
cleanup:
|
||||
ExFreePool(BusInterface);
|
||||
if (BusInterface) ExFreePool(BusInterface);
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue