Skip to content
Snippets Groups Projects
Commit d864bd0e authored by Dan Carpenter's avatar Dan Carpenter Committed by Tom Rini
Browse files

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: default avatarDan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
parent 0c0d471e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment