diff options
author | 2020-01-08 08:39:48 +0300 | |
---|---|---|
committer | 2020-01-08 16:03:35 -0800 | |
commit | a6dd04807ce4d7b71920d996e6b84fa3733a1bfd (patch) | |
tree | 346e3f8e74ce2e868ea5ae0b317512a26cb347af /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'Broadcom-tags-support-for-531x5-539x-families' (diff) | |
download | wireguard-linux-a6dd04807ce4d7b71920d996e6b84fa3733a1bfd.tar.xz wireguard-linux-a6dd04807ce4d7b71920d996e6b84fa3733a1bfd.zip |
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