BaseTools/C/Common: Fix potential memory leak
Cc: Liming Gao <liming.gao@intel.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
@ -186,6 +186,7 @@ Returns:
|
||||
|
||||
Status = FvBufClearAllFiles (TempFv);
|
||||
if (EFI_ERROR (Status)) {
|
||||
CommonLibBinderFree (TempFv);
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user