commit | 86d68a58d00db3770735b5919ef2c6b12d7f06f3 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Jan 15 12:21:21 2015 +0300 |
committer | Matt Fleming <matt.fleming@intel.com> | Tue Jan 20 15:50:25 2015 +0000 |
tree | 86c44e08c0682d84147ce93a82efc86fee8d014b | |
parent | 822a0279287603f150b991d0ea319bbba5aa235a [diff] |
efi: Small leak on error in runtime map code The "> 0" here should ">= 0" so we free map_entries[0]. Fixes: 926172d46038 ('efi: Export EFI runtime memory mapping to sysfs') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Dave Young <dyoung@redhat.com> Signed-off-by: Matt Fleming <matt.fleming@intel.com>