aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorGuoqing Jiang <[email protected]>2020-12-17 15:19:03 +0100
committerJason Gunthorpe <[email protected]>2021-01-15 15:25:09 -0400
commit424774c9f3fa100ef7d9cfb9ee211e2ba1cd5119 (patch)
treefced172582c2b5d4b221ad8190575885f1e5f9e0 /tools/perf/scripts/python/bin/stackcollapse-record
parentf77c4839ee8f4612dcb6601602329096030bd813 (diff)
RDMA/rtrs: Call kobject_put in the failure path
Per the comment of kobject_init_and_add, we need to free the memory by call kobject_put. Fixes: 215378b838df ("RDMA/rtrs: client: sysfs interface functions") Fixes: 91b11610af8d ("RDMA/rtrs: server: sysfs interface functions") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guoqing Jiang <[email protected]> Reviewed-by: Md Haris Iqbal <[email protected]> Reviewed-by: Gioh Kim <[email protected]> Signed-off-by: Jack Wang <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions