git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
496e595
)
block: rbd: fixed may leaks
author
Vasiliy Kulikov
<segooon@gmail.com>
Sun, 26 Sep 2010 08:59:37 +0000
(12:59 +0400)
committer
Sage Weil
<sage@newdream.net>
Wed, 20 Oct 2010 22:38:19 +0000
(15:38 -0700)
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>
No differences found