mirror of https://github.com/ncroxon/gnu-efi
apps: memory leak in draw_boxes()
Free the buffer allocated to draw boxes. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
01a8d3bb00
commit
4fe83e1026
|
@ -84,6 +84,7 @@ draw_boxes(EFI_GRAPHICS_OUTPUT_PROTOCOL *gop)
|
|||
info->HorizontalResolution,
|
||||
info->VerticalResolution,
|
||||
0);
|
||||
FreePool(PixelBuffer);
|
||||
return;
|
||||
}
|
||||
Print(L"Never found the active video mode?\n");
|
||||
|
|
Loading…
Reference in New Issue