From: roy.qing...@gmail.com
Date: Fri, 23 Oct 2015 20:59:49 +0800

> From: Li RongQing <roy.qing...@gmail.com>
> 
> the returned buffer of register_sysctl() is stored into net_header
> variable, but net_header is not used after, and compiler maybe
> optimise the variable out, and lead kmemleak reported the below warning
 ...
> Add the possible error handle to free the net_header to remove the
> kmemleak warning
> 
> Signed-off-by: Li RongQing <roy.qing...@gmail.com>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to