> > On Wed, Sep 07, 2016 at 10:17:22PM +0000, Winkler, Tomas wrote: > > > I think there is a memory leak in tpm_tis on the error path; maybe a > > missing call to dev_put, not sure I had just quick look. > > tpmm_alloc uses devm, so the put happens in a devm cleanup. > > Assuming everything still works the way it was intended :/
How this is triggered on the error path, if this didn't call yet to the device_add() Tomas ------------------------------------------------------------------------------ _______________________________________________ tpmdd-devel mailing list tpmdd-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tpmdd-devel