Home GnuPG
Diffusion GpgOL 72290f1edda0

Fix double release in error handling

Description

Fix double release in error handling

* src/mail.cpp (get_attachment_stream_o): Return after mapi_attachment
release.

If the stream open failed the mapi_attachment would be released
twice. This is an obvious error.

Details

Provenance
aheineckeAuthored on Oct 30 2019, 10:20 AM
Parents
rO1f330a0e3694: Revert "Remove hidden attachments in OOM"
Branches
Unknown
Tags
Unknown