summaryrefslogtreecommitdiff
path: root/tools/lib/traceevent/event-parse.c
diff options
context:
space:
mode:
authorzhengbin <zhengbin13@huawei.com>2019-08-14 15:59:09 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-17 13:40:55 -0700
commitd082c610bce7df91fc94d07d382baf495f55752e (patch)
tree3c3dbf891d36a03f5e769c7111afa01a4a4ae80c /tools/lib/traceevent/event-parse.c
parentb30c56ee03b688d0ec769eeb14801f8eb9d2bbad (diff)
fuse: fix memleak in cuse_channel_open
[ Upstream commit 9ad09b1976c562061636ff1e01bfc3a57aebe56b ] If cuse_send_init fails, need to fuse_conn_put cc->fc. cuse_channel_open->fuse_conn_init->refcount_set(&fc->count, 1) ->fuse_dev_alloc->fuse_conn_get ->fuse_dev_free->fuse_conn_put Fixes: cc080e9e9be1 ("fuse: introduce per-instance fuse_dev structure") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: zhengbin <zhengbin13@huawei.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/lib/traceevent/event-parse.c')
0 files changed, 0 insertions, 0 deletions