]> git.ipfire.org Git - thirdparty/u-boot.git/commit
expo: allocate correct amount of memory
authorDan Carpenter <dan.carpenter@linaro.org>
Mon, 31 Jul 2023 14:08:29 +0000 (17:08 +0300)
committerTom Rini <trini@konsulko.com>
Tue, 8 Aug 2023 21:41:52 +0000 (17:41 -0400)
commitd864bd0e21ad6ab901bc6365abc8c3dbebe3ad29
tree06cc59ec900b48f0d0e5389c4420792ea6427e4a
parent0c0d471e2be018342fd191892e1cccc2231db90b
expo: allocate correct amount of memory

This should be allocating the memory for "item" instead of "menu".
The item struct is 48 bytes instead of 96 (assuming a 64bit system)
so this saves a little memory.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
boot/scene_menu.c