On Tue, Sep 02, 2014 at 12:35:50PM +0300, Dan Carpenter wrote: > Sure. I have written a check to test for kfree and brelse of ERR_PTRs. > I'll test it today. It would be good to have it also check for kmem_cache_free() and vfree(), and I suspect there are some other functions which also free memory that I'm forgetting off the top of my head. Thanks!! - Ted -- To unsubscribe from this list: send the line "unsubscribe smatch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html