Re: [edk2] [PATCH] ShellPkg: Corrected CatSPrint usage to prevent memory leaks.

2015-11-17 Thread Qiu, Shumin
Reviewed-by: Qiu Shumin -Original Message- From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Cecil Sheng Sent: Wednesday, November 18, 2015 8:19 AM To: edk2-devel@lists.01.org Cc: Cecil Sheng Subject: [edk2] [PATCH] ShellPkg: Corrected CatSPrint usage to prevent

Re: [edk2] [PATCH] ShellPkg: Corrected CatSPrint usage to prevent memory leaks.

2015-11-17 Thread Carsey, Jaben
] ShellPkg: Corrected CatSPrint usage to prevent > memory leaks. > Importance: High > > CatSPrint allocates return buffer for the caller. The caller doesn't have to > allocate one, and has to free the used buffers. > > Contributed-under: TianoCore Contribu

[edk2] [PATCH] ShellPkg: Corrected CatSPrint usage to prevent memory leaks.

2015-11-17 Thread Cecil Sheng
CatSPrint allocates return buffer for the caller. The caller doesn't have to allocate one, and has to free the used buffers. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Cecil Sheng --- .../UefiHandleParsingLib/UefiHandleParsingLib.c| 231 +++-- 1 f