aboutsummaryrefslogtreecommitdiffstats
path: root/lang/qt/src/qgpgmenewcryptoconfig.cpp
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2017-01-12 10:44:11 +0000
committerAndre Heinecke <[email protected]>2017-01-12 10:44:11 +0000
commita09ed3f26a1fab54079c37c49df5c440cc792f78 (patch)
tree7988a75b1bf66a019929fca607292b96ac616b77 /lang/qt/src/qgpgmenewcryptoconfig.cpp
parentqt: Clean up test dirs on failure (diff)
downloadgpgme-a09ed3f26a1fab54079c37c49df5c440cc792f78.tar.gz
gpgme-a09ed3f26a1fab54079c37c49df5c440cc792f78.zip
qt: Don't use qstrdup in test passphrase cb
* lang/qt/tests/t-support.h (TestPassphraseProvider::getPassphrase): Use gpgrt_asprintf instead of strdup. -- To avoid problems on MacOS we want to avoid strdup so that qgpgme can be built without extensions. But qstrdup allocates with new and not with malloc, so use gpgrt_asprintf instead.
Diffstat (limited to 'lang/qt/src/qgpgmenewcryptoconfig.cpp')
0 files changed, 0 insertions, 0 deletions