commit | 463be5499076a4591c5982c9b55fd05d50f60139 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@linaro.org> | Mon Jul 31 17:08:29 2023 +0300 |
committer | Tom Rini <trini@konsulko.com> | Tue Aug 08 17:41:52 2023 -0400 |
tree | 06cc59ec900b48f0d0e5389c4420792ea6427e4a | |
parent | 1ae09176212b3f10a1d5c4fc2def76a7f593620a [diff] |
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>