]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test/librbd: fix memory leak in TestCryptoOpensslDataCryptor
authorOr Ozeri <oro@il.ibm.com>
Thu, 25 Nov 2021 13:10:14 +0000 (15:10 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Sun, 13 Feb 2022 15:49:58 +0000 (16:49 +0100)
commitb29be7fbd9e37c7610c98f7f3c4e69ea2898ae2e
tree85b9ccfc5e22fd05093b0c71dd1d23e13127a870
parente802c78eabd31ea1ed8f1264ab5e25aff93b45ee
test/librbd: fix memory leak in TestCryptoOpensslDataCryptor

One of the tests leaks an encryption context.
This commit fixes this issue.

Signed-off-by: Or Ozeri <oro@il.ibm.com>
(cherry picked from commit 09ae3bd03d465af46bfefc03909b91b238d1586f)
src/test/librbd/crypto/openssl/test_DataCryptor.cc