From: Dan Carpenter Date: Thu, 15 Jan 2015 09:21:21 +0000 (+0300) Subject: efi: Small leak on error in runtime map code X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~158^2^2~3 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86d68a58d00db3770735b5919ef2c6b12d7f06f3;p=pandora-kernel.git 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 Acked-by: Dave Young Signed-off-by: Matt Fleming --- Reading git-diff-tree failed