Fixed potential issues to release resources when error occurs.
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 28 Nov 2007 03:55:36 +0000 (03:55 +0000)
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 28 Nov 2007 03:55:36 +0000 (03:55 +0000)
commit6a6d955c5f670141344c614c65dbea332f393b57
tree80cb86cc7d44521d19279bb917146363376f67f1
parentac4f8b5abe6758183102be3feea30c7430eedf3a
Fixed potential issues to release resources when error occurs.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4341 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c
MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c
MdeModulePkg/Bus/Pci/UndiRuntimeDxe/Init.c
OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.c
OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430.c