diff options
author | Vladimir Olovyannikov <vladimir.olovyannikov@broadcom.com> | 2018-07-26 03:47:49 +0800 |
---|---|---|
committer | Star Zeng <star.zeng@intel.com> | 2018-07-27 08:54:40 +0800 |
commit | b5bd3ed64898db1088a9468446a0d2d0dc7185e8 (patch) | |
tree | 708c1824a3186d51f2e52f5e826893ffc5e903b9 /BaseTools/Source/Python/Workspace/DecBuildData.py | |
parent | 4a723ed258367471eac8b4ae32558f09ef65672e (diff) | |
download | edk2-b5bd3ed64898db1088a9468446a0d2d0dc7185e8.tar.gz edk2-b5bd3ed64898db1088a9468446a0d2d0dc7185e8.tar.bz2 edk2-b5bd3ed64898db1088a9468446a0d2d0dc7185e8.zip |
MdeModulePkg FvSimpleFileSystemDxe: Fix memory leak in Read function
FvSimpleFileSystem on read always allocates a FileBuffer, and never frees
it. This causes memory leaks. It is especially bad for reading scripts
line-by-line. In some cases memory leak can exceed 1GB.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Vladimir Olovyannikiov <vladimir.olovyannikov@broadcom.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/DecBuildData.py')
0 files changed, 0 insertions, 0 deletions