Home GnuPG
Diffusion GpgOL 50c514d6bd60

Fix a possible crash when reactivating gpgol

Description

Fix a possible crash when reactivating gpgol

* src/gpgoladdin.cpp (GpgolAddin::invalidateRibbons)
(GpgolAddin::addRibbon): New.
(g_ribbon_uis): Removed.

This keeps the ribbon ui in a member variable so that they
are cleared out when the GpgolAddin class is remvoved on
unload.

Fixes a potential crash when a user would activate gpgol
after deactivating it in the same outlook session and
stale ribbon ui pointers would be accessed.

Details

Provenance
aheineckeAuthored on Sep 7 2018, 9:56 AM
Parents
rO1cefdea05092: Merge branch 'STABLE-BRANCH-2-3'
Branches
Unknown
Tags
Unknown