diff options
author | Saturn&Eric <[email protected]> | 2022-05-09 15:58:36 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2022-05-09 15:58:36 +0000 |
commit | a1bef0cc06a5c128a0f868ab59d7c153f5ab8aec (patch) | |
tree | f55b3c76f4203590b4bf40b6ab2f97965f5a51ec /src/core/GpgContext.h | |
parent | Merge pull request #56 from saturneric/develop-2.0.6 (diff) | |
parent | fix: modified init order (diff) | |
download | GpgFrontend-a1bef0cc06a5c128a0f868ab59d7c153f5ab8aec.tar.gz GpgFrontend-a1bef0cc06a5c128a0f868ab59d7c153f5ab8aec.zip |
Merge pull request #57 from saturneric/develop-2.0.7v2.0.7
Develop 2.0.7
Diffstat (limited to '')
-rw-r--r-- | src/core/GpgContext.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/GpgContext.h b/src/core/GpgContext.h index b148fcb5..e1f1bda4 100644 --- a/src/core/GpgContext.h +++ b/src/core/GpgContext.h @@ -116,9 +116,7 @@ class GPGFRONTEND_CORE_EXPORT GpgContext * */ struct _ctx_ref_deleter { - void operator()(gpgme_ctx_t _ctx) { - if (_ctx != nullptr) gpgme_release(_ctx); - } + void operator()(gpgme_ctx_t _ctx); }; using CtxRefHandler = |