From: [email protected] Date: Fri, 23 Oct 2015 20:59:49 +0800 > From: Li RongQing <[email protected]> > > 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 <[email protected]>
Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
