Ptr++;\r
}\r
\r
- if ((*(Ptr-3) == 'D') && (*(Ptr-2) == 'e') && (*(Ptr-1) == 'v')) {\r
+ if ((*(Ptr - 3) == 'D') && (*(Ptr - 2) == 'e') && (*(Ptr - 1) == 'v')) {\r
return FALSE;\r
} else {\r
return TRUE;\r
SafeFreePool(Instance);\r
} while (CopyOfDevicePath != NULL);\r
\r
- gBS->FreePool (StartDevicePath);\r
+ SafeFreePool (StartDevicePath);\r
\r
if (!DeviceExist) {\r
return EFI_NOT_FOUND;\r
\r
}\r
\r
-\r
/**\r
This function will connect console device base on the console\r
device variable ConIn, ConOut and ErrOut.\r