aboutsummaryrefslogtreecommitdiff
path: root/lib/debug_locks.c
diff options
context:
space:
mode:
authorVasiliy Kulikov <[email protected]>2010-09-26 12:59:37 +0400
committerSage Weil <[email protected]>2010-10-20 15:38:19 -0700
commit28f259b7cd78eb29d38b7ae6b475d656e08fd348 (patch)
tree4cbefc4ad9562af2c221b6fec52bb560772f0a40 /lib/debug_locks.c
parent496e59553c51ce18acc836de070106b583926b87 (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 <[email protected]> Signed-off-by: Yehuda Sadeh <[email protected]>
Diffstat (limited to 'lib/debug_locks.c')
0 files changed, 0 insertions, 0 deletions