diff options
author | saturneric <[email protected]> | 2023-12-16 05:53:03 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2023-12-16 05:53:03 +0000 |
commit | 37215a895a649345165027971690dfdcd9106a32 (patch) | |
tree | 7a3da4e2d59ba75b43c9927fe7a98c9b6dec5ec6 /src/core/function/gpg/GpgKeyGetter.cpp | |
parent | fix: slove memory problem of gpg context (diff) | |
download | GpgFrontend-37215a895a649345165027971690dfdcd9106a32.tar.gz GpgFrontend-37215a895a649345165027971690dfdcd9106a32.zip |
fix: use secure memory management at impl class
Diffstat (limited to 'src/core/function/gpg/GpgKeyGetter.cpp')
-rw-r--r-- | src/core/function/gpg/GpgKeyGetter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/function/gpg/GpgKeyGetter.cpp b/src/core/function/gpg/GpgKeyGetter.cpp index 0cd6741c..8ce3c4fa 100644 --- a/src/core/function/gpg/GpgKeyGetter.cpp +++ b/src/core/function/gpg/GpgKeyGetter.cpp @@ -203,7 +203,7 @@ class GpgKeyGetter::Impl : public SingletonFunctionObject<GpgKeyGetter::Impl> { GpgKeyGetter::GpgKeyGetter(int channel) : SingletonFunctionObject<GpgKeyGetter>(channel), - p_(std::make_unique<Impl>(channel)) { + p_(SecureCreateUniqueObject<Impl>(channel)) { SPDLOG_DEBUG("called channel: {}", channel); } |