diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-01-08 08:39:48 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-01-09 03:03:35 +0300 |
| commit | a6dd04807ce4d7b71920d996e6b84fa3733a1bfd (patch) | |
| tree | 346e3f8e74ce2e868ea5ae0b317512a26cb347af /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 78b6d073bc0101f9147845ba868d9d2e6189f990 (diff) | |
| download | linux-a6dd04807ce4d7b71920d996e6b84fa3733a1bfd.tar.xz | |
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 <dan.carpenter@oracle.com>
Reviewed-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
