Vasiliy Kulikov 28f259b7cd 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>
2010-10-20 15:38:19 -07:00
..
2010-08-07 18:25:00 +02:00
2010-08-07 18:52:30 +02:00
2010-02-22 13:44:45 +01:00
2010-08-07 18:52:30 +02:00
2010-08-07 18:53:03 +02:00
2005-04-16 15:20:36 -07:00
2010-08-07 18:52:31 +02:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2010-08-23 12:33:10 +02:00
2010-10-20 15:38:19 -07:00
2005-04-16 15:20:36 -07:00
2009-03-26 21:15:27 +01:00
2010-10-09 11:42:37 -07:00
2010-08-07 18:25:00 +02:00
2008-10-21 07:48:11 -04:00