diff options
-rw-r--r-- | drivers/md/dm-crypt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/dm-crypt.c b/drivers/md/dm-crypt.c index ecd9ef0418cd..3fa3b24947da 100644 --- a/drivers/md/dm-crypt.c +++ b/drivers/md/dm-crypt.c | |||
@@ -175,6 +175,7 @@ static int crypt_iv_essiv_ctr(struct crypt_config *cc, struct dm_target *ti, | |||
175 | 175 | ||
176 | if (err) { | 176 | if (err) { |
177 | ti->error = "Error calculating hash in ESSIV"; | 177 | ti->error = "Error calculating hash in ESSIV"; |
178 | kfree(salt); | ||
178 | return err; | 179 | return err; |
179 | } | 180 | } |
180 | 181 | ||