commit | 28f259b7cd78eb29d38b7ae6b475d656e08fd348 | [log] [tgz] |
---|---|---|
author | Vasiliy Kulikov <segooon@gmail.com> | Sun Sep 26 12:59:37 2010 +0400 |
committer | Sage Weil <sage@newdream.net> | Wed Oct 20 15:38:19 2010 -0700 |
tree | 4cbefc4ad9562af2c221b6fec52bb560772f0a40 | |
parent | 496e59553c51ce18acc836de070106b583926b87 [diff] |
block: rbd: fixed may leaks rbd_client_create() doesn't free rbdc, this leads to many leaks. seg_len in rbd_do_op() is unsigned, so (seg_len < 0) makes no sense. Also if fixed check fails then seg_name is leaked. Signed-off-by: Vasiliy Kulikov <segooon@gmail.com> Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>