diff options
| author | Jérôme Pouiller <[email protected]> | 2020-05-05 14:37:45 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-05-13 13:26:39 +0200 |
| commit | 832cc98141b4b93acbb9231ca9e36f7fbe347f47 (patch) | |
| tree | 65c894b38e0b0fe0dbf7d1f070f3b76c89bb4470 /tools/perf/scripts/python | |
| parent | 01088cd143a9509aba2fd81d208bb4e3ba479035 (diff) | |
staging: wfx: fix double free
In case of error in wfx_probe(), wdev->hw is freed. Since an error
occurred, wfx_free_common() is called, then wdev->hw is freed again.
Signed-off-by: Jérôme Pouiller <[email protected]>
Reviewed-by: Michał Mirosław <[email protected]>
Fixes: 4033714d6cbe ("staging: wfx: fix init/remove vs IRQ race")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions