diff options
author | Pan Bian <bianpan2016@163.com> | 2021-01-20 07:44:23 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-01-20 20:07:15 +0300 |
commit | 0c630a66bf10991b0ef13d27c93d7545e692ef5b (patch) | |
tree | 14dfe755263961295f36ab5cfcd84be1e304366c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | de658a195ee23ca6aaffe197d1d2ea040beea0a2 (diff) | |
download | linux-0c630a66bf10991b0ef13d27c93d7545e692ef5b.tar.xz |
net: systemport: free dev before on error path
On the error path, it should goto the error handling label to free
allocated memory rather than directly return.
Fixes: 31bc72d97656 ("net: systemport: fetch and use clock resources")
Signed-off-by: Pan Bian <bianpan2016@163.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20210120044423.1704-1-bianpan2016@163.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions