summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorZhu Yanjun <yanjun.zhu@oracle.com>2018-09-30 09:27:16 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-10-04 01:03:36 +0300
commitaae0484e15f062ad2c2502e68e15dfb8b8f84608 (patch)
treeb6a52926a9eaebce304dab267d8de55363b873dd /tools/perf/scripts/python/export-to-sqlite.py
parent39f2495618c5e980d2873ea3f2d1877dd253e07a (diff)
downloadlinux-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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions