Home GnuPG
Diffusion GpgOL f0bca1fdeb4c

Do not release eventsink when disabled
f0bca1fdeb4cUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Do not release eventsink when disabled

* src/gpgoladdin.cpp (GpgolAddin::~GpgolAddin): Do not release
m_appliactionEventSink when disabled. Use NULL guarded release.

When we are disabled OnStartupComplete never creates the event
sink but the addin's dtor is called on unload.

Details

Provenance
aheineckeAuthored on Nov 12 2015, 10:55 AM
Parents
rO4f8c746e390d: Fix double free when addin is disabled
Branches
Unknown
Tags
Unknown