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:
Heinrich Schuchardt 2021-06-23 23:22:41 +02:00
parent 01a8d3bb00
commit 4fe83e1026
1 changed files with 1 additions and 0 deletions

View File

@ -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");