[PATCH] ext4: added missing kfree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Added one missing kfree to fsmap.c

Signed-off-by: Nicolas Bretz <bretznic@xxxxxxxxx>
---
 fs/ext4/fsmap.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/ext4/fsmap.c b/fs/ext4/fsmap.c
index b232c2767534..d41210abea0c 100644
--- a/fs/ext4/fsmap.c
+++ b/fs/ext4/fsmap.c
@@ -304,6 +304,7 @@ static inline int ext4_getfsmap_fill(struct list_head *meta_list,
 	fsm->fmr_length = len;
 	list_add_tail(&fsm->fmr_list, meta_list);
 
+	kfree(fsm);
 	return 0;
 }
 
-- 
2.43.0





[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux