Skip to content
Commit 86d68a58 authored by Dan Carpenter's avatar Dan Carpenter Committed by Matt Fleming
Browse files

efi: Small leak on error in runtime map code



The "> 0" here should ">= 0" so we free map_entries[0].

Fixes: 926172d4 ('efi: Export EFI runtime memory mapping to sysfs')
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Acked-by: default avatarDave Young <dyoung@redhat.com>
Signed-off-by: default avatarMatt Fleming <matt.fleming@intel.com>
parent 822a0279
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment