aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/module/Module.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-12-16 05:53:03 +0000
committersaturneric <[email protected]>2023-12-16 05:53:03 +0000
commit37215a895a649345165027971690dfdcd9106a32 (patch)
tree7a3da4e2d59ba75b43c9927fe7a98c9b6dec5ec6 /src/core/module/Module.h
parentfix: slove memory problem of gpg context (diff)
downloadGpgFrontend-37215a895a649345165027971690dfdcd9106a32.tar.gz
GpgFrontend-37215a895a649345165027971690dfdcd9106a32.zip
fix: use secure memory management at impl class
Diffstat (limited to 'src/core/module/Module.h')
-rw-r--r--src/core/module/Module.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/module/Module.h b/src/core/module/Module.h
index 6cc1cc3f..fe672698 100644
--- a/src/core/module/Module.h
+++ b/src/core/module/Module.h
@@ -74,7 +74,7 @@ class GPGFRONTEND_CORE_EXPORT Module : public QObject {
private:
class Impl;
- std::unique_ptr<Impl> p_;
+ SecureUniquePtr<Impl> p_;
};
} // namespace GpgFrontend::Module \ No newline at end of file