[PATCH -next 0/2] Rework fix method for memleak in

Zhihao Cheng chengzhihao1 at huawei.com
Wed Mar 1 04:29:17 PST 2023


Patch 1 reverts old solution.
Patch 2 provides a new fix method.

https://lore.kernel.org/lkml/20230215022507.2363193-1-chengzhihao1@huawei.com/

Zhihao Cheng (2):
  Revert "ubifs: dirty_cow_znode: Fix memleak in error handling path"
  ubifs: dirty_cow_znode: Fix memleak when insert_old_idx() failed

 fs/ubifs/tnc.c | 142 ++++++++++++++++++++++++++++++-------------------
 1 file changed, 86 insertions(+), 56 deletions(-)

-- 
2.31.1




More information about the linux-mtd mailing list