Home GnuPG
Diffusion GpgOL 0d2d92689189

Use static references for VARAINT_BOOL | BYREF

Description

Use static references for VARAINT_BOOL | BYREF

* src/ribbon-callbacks.cpp (get_crypt_pressed),
(get_is_details_enabled, get_is_crypto_mail): Reference a static.

I really don't understand it but malloc'ing also seems wrong
as we leak heap mem here.
These references to static variables appear to work.

Details

Provenance
aheineckeAuthored on Jul 23 2018, 3:22 PM
Parents
rOeb9236394ef2: Fix unlikely error memleak
Branches
Unknown
Tags
Unknown