On Friday 02 May 2008, Sebastian Siewior wrote: > >That memory is freed only by spidev_classdev_release(), so > >it looks like this particular issue is a refcounting bug. > >I'll look at it later (unless you make time for it first). > > I try what I can do tomorrow but I probably can't before sunday.
Looks to me like the refcounting on spidev->users is insufficient. That covers the buffer. Separately, each open and each release should probably update the refcount on spidev->dev itself. - dave ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ spi-devel-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/spi-devel-general
