CC: [email protected]
CC: Linux Memory Management List <[email protected]>
TO: Kari Argillander <[email protected]>
CC: Konstantin Komarov <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 
master
head:   aa14a3016182213f022068500486ef3bcacb9006
commit: 27fac77707a1d99deef33fd5f3f5f2ed96bfbf6a [12149/12292] fs/ntfs3: Init 
spi more in init_fs_context than fill_super
:::::: branch date: 12 hours ago
:::::: commit date: 24 hours ago
config: x86_64-randconfig-m001-20210910 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>

smatch warnings:
fs/ntfs3/super.c:1457 ntfs_init_fs_context() warn: possible memory leak of 
'opts'

vim +/opts +1457 fs/ntfs3/super.c

610f8f5a7baf99 Kari Argillander   2021-09-07  1445  
610f8f5a7baf99 Kari Argillander   2021-09-07  1446      sbi->options = opts;
610f8f5a7baf99 Kari Argillander   2021-09-07  1447      fc->s_fs_info = sbi;
610f8f5a7baf99 Kari Argillander   2021-09-07  1448  ok:
610f8f5a7baf99 Kari Argillander   2021-09-07  1449      fc->fs_private = opts;
610f8f5a7baf99 Kari Argillander   2021-09-07  1450      fc->ops = 
&ntfs_context_ops;
610f8f5a7baf99 Kari Argillander   2021-09-07  1451  
610f8f5a7baf99 Kari Argillander   2021-09-07  1452      return 0;
27fac77707a1d9 Kari Argillander   2021-09-07  1453  free_opts:
27fac77707a1d9 Kari Argillander   2021-09-07  1454      kfree(opts);
27fac77707a1d9 Kari Argillander   2021-09-07  1455  free_sbi:
27fac77707a1d9 Kari Argillander   2021-09-07  1456      kfree(sbi);
27fac77707a1d9 Kari Argillander   2021-09-07 @1457      return -ENOMEM;
82cae269cfa953 Konstantin Komarov 2021-08-13  1458  }
82cae269cfa953 Konstantin Komarov 2021-08-13  1459  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to