- 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:
Aleksey Bragin 2007-10-05 17:13:53 +00:00
parent 5e5a42e89b
commit 7b9b1a8536

View file

@ -78,7 +78,7 @@ GetBusInterface(
Status = STATUS_SUCCESS;
cleanup:
ExFreePool(BusInterface);
if (BusInterface) ExFreePool(BusInterface);
return Status;
}