diff options
| author | Kamal Heib <kamalheib1@gmail.com> | 2018-06-19 20:04:08 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-06-28 15:50:16 +0300 |
| commit | 85e1d42663a0c163002961d2685be952067b0dc2 (patch) | |
| tree | 8ae6aba82ec794a3ebe3e694970992bfcb8d3c8c /tools/perf/scripts/python/stackcollapse.py | |
| parent | d0233204fbc10f003d1ef077f57341c2feca4002 (diff) | |
| download | linux-85e1d42663a0c163002961d2685be952067b0dc2.tar.xz | |
staging: mt7621-eth: Fix memory leak in mtk_add_mac() error path
Fix memory leak in error path of mtk_add_mac() by make sure to free
the allocated netdev.
Fixes: e3cbf478f846 ('staging: mt7621-eth: add the drivers core files')
Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
