diff options
| author | Zhu Yanjun <yanjun.zhu@oracle.com> | 2018-09-30 09:27:16 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-10-04 01:03:36 +0300 |
| commit | aae0484e15f062ad2c2502e68e15dfb8b8f84608 (patch) | |
| tree | b6a52926a9eaebce304dab267d8de55363b873dd /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | 39f2495618c5e980d2873ea3f2d1877dd253e07a (diff) | |
| download | linux-aae0484e15f062ad2c2502e68e15dfb8b8f84608.tar.xz | |
IB/rxe: avoid srq memory leak
In rxe_queue_init, q and q->buf are allocated. In do_mmap_info, q->ip is
allocated. When error occurs, rxe_srq_from_init and the later error
handler do not free these allocated memories. This will make memory leak.
Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions
