Hi, On 18.10.2004 23:23, Johannes Stezenbach wrote:
Yes. "data" is saved when dvb_register_frontend() is called and it's used in the frontend thread for example. It might be possible, that right after freeing the memory, but before the call to dvb_unregister_frontend() is done, the frontend thread kicks in.Maybe we should free "data" after unregistering the frontend in uni0299_detach(). (There's a single alloc/free and it has the right size for slab-32 so this is the only thing I could imagine.)
I created a patch and sent it off to the one who filed the bug at bugme.osdl.org.Johannes