diff options
author | Wei Yongjun <weiyj.lk@gmail.com> | 2016-08-05 16:46:49 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-08-22 21:26:54 +0300 |
commit | 23d70503ee187819a3775c7ac73f17c5bfe3fad0 (patch) | |
tree | 6a1c01eb9faa567cc2d9e050d9c9738a9c213391 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 8303f683b161467b6595c153c8751b80f9df3508 (diff) | |
download | linux-23d70503ee187819a3775c7ac73f17c5bfe3fad0.tar.xz |
IB/core: Fix possible memory leak in cma_resolve_iboe_route()
'work' and 'route->path_rec' are malloced in cma_resolve_iboe_route()
and should be freed before leaving from the error handling cases,
otherwise it will cause memory leak.
Fixes: 200298326b27 ('IB/core: Validate route when we init ah')
Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
Reviewed-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions