commit | 22b1de06c9fe128ca3de72560c3e8c2cabf2927a | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Mon Jul 05 15:36:49 2010 -0700 |
committer | Sage Weil <sage@newdream.net> | Mon Jul 05 15:36:49 2010 -0700 |
tree | e8f711819f4430e8da584b3bbaba0bd6227d7edd | |
parent | ed98adad3d87594c55347824e85137d1829c9e70 [diff] [blame] |
ceph: fix leak of mon authorizer Fix leak of a struct ceph_buffer on umount. Signed-off-by: Sage Weil <sage@newdream.net>
diff --git a/fs/ceph/auth_x.c b/fs/ceph/auth_x.c index 3fe4904..6d44053 100644 --- a/fs/ceph/auth_x.c +++ b/fs/ceph/auth_x.c
@@ -613,6 +613,9 @@ remove_ticket_handler(ac, th); } + if (xi->auth_authorizer.buf) + ceph_buffer_put(xi->auth_authorizer.buf); + kfree(ac->private); ac->private = NULL; }