summaryrefslogtreecommitdiff
path: root/kexec/add_buffer.c
diff options
context:
space:
mode:
authorZhang Yanfei <zhangyanfei@cn.fujitsu.com>2013-03-25 23:03:52 +0800
committerSimon Horman <horms@verge.net.au>2013-03-27 21:34:58 +0900
commit3a33a6089b2434aafb1ea1894bd342b507faab9d (patch)
treebef596876260ec31d3ee1ba1d3375155bc6a13f5 /kexec/add_buffer.c
parentfa101c374d69597bb228d1f1230b2d37ba888db3 (diff)
kexec: fix possible memory leak in check_reuse_initrd
If the if test is ok, then it will call die() to exit the process, so freeing line will not be reached, causing memory leak. Fix this. Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/add_buffer.c')
0 files changed, 0 insertions, 0 deletions