Home GnuPG
Diffusion GpgOL 9e5ad3f12975

Fix minor locking issue

Description

Fix minor locking issue

* src/keycache.cpp (KeyCache::Private::getByFpr): Use a copy
to return after unlocking the map.

I'm not sure if this is neccessary as the iterator is const
but better be safe.

Details

Provenance
aheineckeAuthored on Aug 29 2018, 10:37 AM
Parents
rO59e8a7ee3bcd: Use dispcache for Multilanguage COM interface
Branches
Unknown
Tags
Unknown