]> git.proxmox.com Git - mirror_edk2.git/commit - ShellPkg/Application/Shell/ConsoleWrappers.c
ShellPkg: Fix memory leak in SimpleTextOutput on file.
authorQiu Shumin <shumin.qiu@intel.com>
Wed, 23 Dec 2015 05:36:10 +0000 (05:36 +0000)
committershenshushi <shenshushi@Edk2>
Wed, 23 Dec 2015 05:36:10 +0000 (05:36 +0000)
commit5772d0f540cd770dccb37c8742f173c57109bea7
tree380499f5324e329829895c9ace4481e455b0ab42
parent689b78c890bec8f8345ed03b0ef48133d8450ebf
ShellPkg: Fix memory leak in SimpleTextOutput on file.

Free 'SimpleTextOut->Mode' buffer before 'SimpleTextOut' is free.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19480 6f19259b-4bc3-4df7-8a09-765794883524
ShellPkg/Application/Shell/ConsoleWrappers.c