diff options
| author | Zhengchao Shao <shaozhengchao@huawei.com> | 2022-10-19 12:57:52 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2022-10-21 07:09:47 +0300 |
| commit | 4c1f602df8956bc0decdafd7e4fc7eef50c550b1 (patch) | |
| tree | 82f8689f5d0f5afd6f80503693bf9c509979ad8d /include/linux/fpga/fpga-region.h | |
| parent | c0605cd6750f2db9890c43a91ea4d77be8fb4908 (diff) | |
| download | linux-4c1f602df8956bc0decdafd7e4fc7eef50c550b1.tar.xz | |
net: hinic: fix memory leak when reading function table
When the input parameter idx meets the expected case option in
hinic_dbg_get_func_table(), read_data is not released. Fix it.
Fixes: 5215e16244ee ("hinic: add support to query function table")
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/fpga/fpga-region.h')
0 files changed, 0 insertions, 0 deletions
