[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20151023.030444.704308961251594308.davem@davemloft.net>
Date: Fri, 23 Oct 2015 03:04:44 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: roy.qing.li@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] net: sysctl: fix a kmemleak warning
From: roy.qing.li@...il.com
Date: Thu, 22 Oct 2015 11:27:12 +0800
> +out1:
> + unregister_sysctl_table(net_header);
> + kfree(net_header);
I read over unregister_sysctl_table() and it appears to do the kfree()
for us, doesn't it?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists