commit | 3a33a6089b2434aafb1ea1894bd342b507faab9d | [log] [tgz] |
---|---|---|
author | Zhang Yanfei <zhangyanfei@cn.fujitsu.com> | Mon Mar 25 23:03:52 2013 +0800 |
committer | Simon Horman <horms@verge.net.au> | Wed Mar 27 21:34:58 2013 +0900 |
tree | bef596876260ec31d3ee1ba1d3375155bc6a13f5 | |
parent | fa101c374d69597bb228d1f1230b2d37ba888db3 [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>