add some error check and return.
authorvanjeff <vanjeff@de2fecce-e211-0410-80a6-f3fac2684e05>
Wed, 19 Mar 2008 05:49:56 +0000 (05:49 +0000)
committervanjeff <vanjeff@de2fecce-e211-0410-80a6-f3fac2684e05>
Wed, 19 Mar 2008 05:49:56 +0000 (05:49 +0000)
commita18685ebd668a3ba456f0897119f68721dc7238d
tree2d33cb8eae6792c98369b1f69ae5d9e62a1ccdd7
parentde886d2318d4d34d3b3b11022610d2c606801c92
add some error check and return.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@4912 de2fecce-e211-0410-80a6-f3fac2684e05
edk2/IntelFrameworkModulePkg/Library/GraphicsLib/Graphics.c
edk2/MdeModulePkg/Library/GraphicsLib/Graphics.c
edk2/MdeModulePkg/Universal/BdsDxe/MemoryTest.c
edk2/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.c