commit | 815f9e32709b014a459919176a4f0feebd42731e | [log] [tgz] |
---|---|---|
author | Dmitry Monakhov <dmonakhov@openvz.org> | Fri Oct 19 22:38:38 2007 +0100 |
committer | Alasdair G Kergon <agk@redhat.com> | Sat Oct 20 02:01:01 2007 +0100 |
tree | 346f54c6313c34d57259bf59109c2a035e999fcb | |
parent | 55b42c5ae9c048de25233434afc7b71b01bee9e6 [diff] |
dm crypt: missing kfree in ctr error path Insert missing kfree() in crypt_iv_essiv_ctr() error path. Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
diff --git a/drivers/md/dm-crypt.c b/drivers/md/dm-crypt.c index ecd9ef0..3fa3b24 100644 --- a/drivers/md/dm-crypt.c +++ b/drivers/md/dm-crypt.c
@@ -175,6 +175,7 @@ if (err) { ti->error = "Error calculating hash in ESSIV"; + kfree(salt); return err; }