diff options
author | Zhang Yanfei <zhangyanfei@cn.fujitsu.com> | 2013-03-25 23:10:35 +0800 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2013-03-27 21:37:55 +0900 |
commit | ea271e8b667fdb14f6ca89a00a1885ca94c24647 (patch) | |
tree | 37fa9730dc4a468e1e71a1e94c228213bbdb4541 /util_lib/sha256.c | |
parent | d5b18a8f276abfc2008729252582edf87a8544ee (diff) |
kexec: i386: multiboot: fix possible memory leak in multiboot_x86_load
In multiboot_x86_load, allocated memory may not be free'd if the code
exits abnormally, by calling return. So the patch fixes the possible
memory leak.
Besides, remove some extra blank lines.
Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'util_lib/sha256.c')
0 files changed, 0 insertions, 0 deletions