On 14/03/2017 at 10:56:30 +0300, Dan Carpenter wrote: > We shouldn't kfree(rtc) because is devm_ managed memory. It leads to a > double free. > > Fixes: dd3bf50b35e3 ("rtc: cpcap: new rtc driver") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > Applied, thanks. -- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html