On Sat, May 09, 2015 at 12:19:28PM +0300, Dan Carpenter wrote: > On Fri, May 08, 2015 at 04:07:03PM +0300, Dan Carpenter wrote: > > > > > > This function leaks hdr_info on later error paths. > > > > Never mind. I'm wrong. Sorry for the noise. > > > > To be honest, I think I was right originally, but the code is such a > twisty call path that it's hard to tell. How the error handling work is that the lower levels calls: POSTCODE_LINUX_3(BUS_CREATE_FAILURE_PC, bus_no, POSTCODE_SEVERITY_ERR); POSTCODE_LINUX_3() has no documentation to speak of... regards, dan carpenter _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel