Qt: Create TestPassphraseProvider on stack
authorAndre Heinecke <aheinecke@intevation.de>
Wed, 10 Aug 2016 10:05:32 +0000 (12:05 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Wed, 10 Aug 2016 10:07:56 +0000 (12:07 +0200)
commita27d7755d071aad42efc2aa4ea3899ba7b17f8bf
tree4a53b608563f83181e7ec6c25e7dcf00623c53fc
parent21d5e71d486da8e37cf53f2b968646b39a6daa72
Qt: Create TestPassphraseProvider on stack

* lang/qt/tests/t-encrypt.cpp, lang/qt/tests/t-tofuinfo.cpp: Create
TestPassphraseProvider on stack.

--
Context does not delete the provider. This fixes ASAN errors.
lang/qt/tests/t-encrypt.cpp
lang/qt/tests/t-tofuinfo.cpp