> > So, sizeof(struct erase_info) + sizeof(struct erase_priv_struct) bytes > > are leaking each time block is erased successfully. > > Nope, instr is freed in jffs2_erase_callback() in this case. Oh, I missed that part. You're right. Maybe it's worth some comments in source code?