]> git.baikalelectronics.ru Git - kernel.git/commit
dm crypt: fix memory leak in crypt_ctr_cipher_old()
authorJeffy Chen <jeffy.chen@rock-chips.com>
Wed, 27 Sep 2017 12:28:57 +0000 (20:28 +0800)
committerMike Snitzer <snitzer@redhat.com>
Thu, 28 Sep 2017 16:19:02 +0000 (12:19 -0400)
commit7123fe7d5557a40ede3b2215679db396c4a44ce1
tree07211618e7cac8f71d3f820faf02e3ac692035c4
parent7e9d1c0ec216e349c479fb317afb4888991195ec
dm crypt: fix memory leak in crypt_ctr_cipher_old()

Fix memory leak of cipher_api.

Fixes: 69e932b6b9eb (dm crypt: introduce new format of cipher with "capi:" prefix)
Cc: stable@vger.kernel.org # 4.12+
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-crypt.c