diff options
author | 2017-02-19 10:19:57 +0100 | |
---|---|---|
committer | 2017-02-20 10:33:19 -0500 | |
commit | 177c8d1c96eb9851210313922a12ae8b0b63d8c0 (patch) | |
tree | 03cfbfd65d0ab6d088efc9a3510d13a121005b9d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | mlx4: reduce OOM risk on arches with large pages (diff) | |
download | linux-dev-177c8d1c96eb9851210313922a12ae8b0b63d8c0.tar.xz linux-dev-177c8d1c96eb9851210313922a12ae8b0b63d8c0.zip |
net: mvpp2: Fix a memory leak in error handling path
if 'devm_kzalloc()' fails, we should release resources allocated so far,
just as done a few lines below.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions