提交 22b1de06 编写于 作者: S Sage Weil

ceph: fix leak of mon authorizer

Fix leak of a struct ceph_buffer on umount.
Signed-off-by: NSage Weil <sage@newdream.net>
上级 ed98adad
......@@ -613,6 +613,9 @@ static void ceph_x_destroy(struct ceph_auth_client *ac)
remove_ticket_handler(ac, th);
}
if (xi->auth_authorizer.buf)
ceph_buffer_put(xi->auth_authorizer.buf);
kfree(ac->private);
ac->private = NULL;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册