Home GnuPG
Diffusion GpgOL 03f31b31cbc3

Fix double release in error handling

Description

Fix double release in error handling

* src/mail.cpp (fixup_last_attachment): Do not release attach
on error.

The attach object is released at the end of the function, this
would have resulted in a double release. There is no known
issue where this occurs since we don't really do content-ids
currently. But noticed this while looking for a different refcount
issue.

Details

Provenance
aheineckeAuthored on Sep 28 2023, 10:16 AM
Parents
rO1e6bdee4034f: po: Translate strings for new options
Branches
Unknown
Tags
Unknown