diff options
author | Wang Fan <fan.wang@intel.com> | 2018-01-08 13:18:26 +0800 |
---|---|---|
committer | Jiaxin Wu <jiaxin.wu@intel.com> | 2018-01-10 08:30:24 +0800 |
commit | 36c19ee6c7c4455f5de2817052444d1a0dad0e3d (patch) | |
tree | acbb4269fe22bc6a1970e2c57b5f9c040e75d083 /BaseTools/Source/Python/Ecc/Database.py | |
parent | 39b0867d836292be0ffaffd2cc1edb7049c9fddd (diff) | |
download | edk2-36c19ee6c7c4455f5de2817052444d1a0dad0e3d.tar.gz edk2-36c19ee6c7c4455f5de2817052444d1a0dad0e3d.tar.bz2 edk2-36c19ee6c7c4455f5de2817052444d1a0dad0e3d.zip |
MdeModulePkg: Freed packet buffer when error occurs to avoid memory leak.
* In function Mtftp4WrqSendBlock(), when packet is not needed, function
returns EFI_ABORTED but not freed the packet buffer. It results some
memory leak and this patch is to fix this issue.
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wang Fan <fan.wang@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Ecc/Database.py')
0 files changed, 0 insertions, 0 deletions