Commit 8db8b661 authored by Pingfan Liu's avatar Pingfan Liu Committed by Simon Horman
Browse files

x86: fix BAD_FREE in get_efi_runtime_map()



If the err_out label is reached, address of a stack variable is passed to
free(). Fix it.

Signed-off-by: default avatarPingfan Liu <piliu@redhat.com>
Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
parent 94159bc3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment