]> 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)
committerOr Ozeri <oro@il.ibm.com>
Sun, 28 Nov 2021 11:06:33 +0000 (13:06 +0200)
commit09ae3bd03d465af46bfefc03909b91b238d1586f
tree7a3628d9e4dd4124f6bbd59e667955b94c7a879d
parent3af5bb7c61f37cdad56b13d1abccf5e9fd078563
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>
src/test/librbd/crypto/openssl/test_DataCryptor.cc