aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2021-09-10 11:02:02 +0100
committerKonstantin Komarov <[email protected]>2021-09-20 18:53:12 +0300
commit880301bb313295a65523e79bc5666f5cf49eb3ed (patch)
tree9120d942b060209932642f8344cb22ba4559d4df /scripts/gdb/linux/utils.py
parenta0fc05a37cae9e61aa29f7e283662ce70f7df342 (diff)
fs/ntfs3: Fix a memory leak on object opts
Currently a failed allocation on sbi->upcase will cause an exit via the label free_sbi causing a memory leak on object opts. Fix this by re-ordering the exit paths free_opts and free_sbi so that kfree's occur in the reverse allocation order. Addresses-Coverity: ("Resource leak") Fixes: 27fac77707a1 ("fs/ntfs3: Init spi more in init_fs_context than fill_super") Signed-off-by: Colin Ian King <[email protected]> Reviewed-by: Kari Argillander <[email protected]> Signed-off-by: Konstantin Komarov <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions