diff options
| author | Anton Vasilyev <vasilyev@ispras.ru> | 2018-07-06 15:32:53 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-10-10 08:52:04 +0200 |
| commit | e92968792c2bf75c598b5a0675ba1a89bb03247d (patch) | |
| tree | e14bf467c58122327de121705fa3d14a16e733ee /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 6732f6d09bde6b8957c866915c2a28e3a8605183 (diff) | |
uwb: hwa-rc: fix memory leak at probe
[ Upstream commit 11b71782c1d10d9bccc31825cf84291cd7588a1e ]
hwarc_probe() allocates memory for hwarc, but does not free it
if uwb_rc_add() or hwarc_get_version() fail.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Anton Vasilyev <vasilyev@ispras.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
