diff options
| author | Dan Carpenter <[email protected]> | 2020-01-08 08:39:48 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-01-08 16:03:35 -0800 |
| commit | a6dd04807ce4d7b71920d996e6b84fa3733a1bfd (patch) | |
| tree | 346e3f8e74ce2e868ea5ae0b317512a26cb347af /tools/perf/scripts/python | |
| parent | 78b6d073bc0101f9147845ba868d9d2e6189f990 (diff) | |
ethtool: fix a memory leak in ethnl_default_start()
If ethnl_default_parse() fails then we need to free a couple
memory allocations before returning.
Fixes: 728480f12442 ("ethtool: default handlers for GET requests")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Michal Kubecek <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions