diff options
author | 2021-09-28 19:00:30 +0300 | |
---|---|---|
committer | 2021-10-11 19:17:48 +0300 | |
commit | 9b75450d6c580100611743fa7e690ea3cb47cd4a (patch) | |
tree | c935bd4610c25cfc0ceb7451f76ff009a2704e93 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fs/ntfs3: Keep prealloc for all types of files (diff) | |
download | wireguard-linux-9b75450d6c580100611743fa7e690ea3cb47cd4a.tar.xz wireguard-linux-9b75450d6c580100611743fa7e690ea3cb47cd4a.zip |
fs/ntfs3: Fix memory leak if fill_super failed
In ntfs_init_fs_context we allocate memory in fc->s_fs_info.
In case of failed mount we must free it in ntfs_fill_super.
We can't do it in ntfs_fs_free, because ntfs_fs_free called
with fc->s_fs_info == NULL.
fc->s_fs_info became NULL in sget_fc.
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions