diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2023-07-31 17:08:29 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-08-08 17:41:52 -0400 |
commit | d864bd0e21ad6ab901bc6365abc8c3dbebe3ad29 (patch) | |
tree | 06cc59ec900b48f0d0e5389c4420792ea6427e4a /test/lib/asn1.c | |
parent | 0c0d471e2be018342fd191892e1cccc2231db90b (diff) | |
download | u-boot-d864bd0e21ad6ab901bc6365abc8c3dbebe3ad29.tar.gz u-boot-d864bd0e21ad6ab901bc6365abc8c3dbebe3ad29.tar.bz2 u-boot-d864bd0e21ad6ab901bc6365abc8c3dbebe3ad29.zip |
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>
Diffstat (limited to 'test/lib/asn1.c')
0 files changed, 0 insertions, 0 deletions