Re: [edk2] [PATCH 1/1] MdeModulePkg/UefiBootManagerLib: Fix small LoadOptionToVariable leak

2018-07-06 Thread Zeng, Star
Pushed at 4d76bbcce62e3b972cd226e5f0e43d21db48a3f7. Thanks, Star -Original Message- From: Zeng, Star Sent: Friday, July 6, 2018 3:30 PM To: Thomas Palmer ; edk2-devel@lists.01.org Cc: Dong, Eric ; gar...@hpe.com; joseph.shiffl...@hpe.com; Zeng, Star Subject: RE: [PATCH 1/1]

Re: [edk2] [PATCH 1/1] MdeModulePkg/UefiBootManagerLib: Fix small LoadOptionToVariable leak

2018-07-06 Thread Zeng, Star
Reviewed-by: Star Zeng -Original Message- From: Thomas Palmer [mailto:thomas.pal...@hpe.com] Sent: Wednesday, July 4, 2018 12:41 AM To: edk2-devel@lists.01.org Cc: Dong, Eric ; Zeng, Star ; gar...@hpe.com; joseph.shiffl...@hpe.com; Thomas Palmer Subject: [PATCH 1/1]

[edk2] [PATCH 1/1] MdeModulePkg/UefiBootManagerLib: Fix small LoadOptionToVariable leak

2018-07-03 Thread Thomas Palmer
After calling SetVariable, the allocated memory in Variable should be freed. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Thomas Palmer --- .../Library/UefiBootManagerLib/BmLoadOption.c | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-)