diff options
author | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-06-30 07:29:19 +0000 |
---|---|---|
committer | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-06-30 07:29:19 +0000 |
commit | 653ef62ee95dbde95f89513ab84d9df05a9b280a (patch) | |
tree | 23e32f0e2d391a17c7caa2959e615d24097173ea /MdeModulePkg/Universal/Network/IScsiDxe/IScsiCHAP.c | |
parent | a56678b8ce9eb1b98e14caff0d858acb8142288f (diff) | |
download | edk2-653ef62ee95dbde95f89513ab84d9df05a9b280a.zip edk2-653ef62ee95dbde95f89513ab84d9df05a9b280a.tar.gz edk2-653ef62ee95dbde95f89513ab84d9df05a9b280a.tar.bz2 |
add error handler to pass K8 check
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8687 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Network/IScsiDxe/IScsiCHAP.c')
-rw-r--r-- | MdeModulePkg/Universal/Network/IScsiDxe/IScsiCHAP.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiCHAP.c b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiCHAP.c index dc65674..a3d20a7 100644 --- a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiCHAP.c +++ b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiCHAP.c @@ -165,6 +165,7 @@ IScsiCHAPOnRspReceived ( //
KeyValueList = IScsiBuildKeyValueList ((CHAR8 *) Data, Len);
if (KeyValueList == NULL) {
+ gBS->FreePool (Data);
return EFI_OUT_OF_RESOURCES;
}
|