Home GnuPG
Diffusion GpgOL 765e04b5e0fb

Use shared_ptr for parser object
765e04b5e0fbUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Use shared_ptr for parser object

* src/mail.cpp (m_parser): Change to shared_ptr
(Mail::parsing_done): Check if parser already deleted.
* src/mail.h: Update accordingly.

The state in which this happens should no longer be
reached due to the previous commit that prevents
duplication in the uuid map. Still better handle
it.

Details

Provenance
aheineckeAuthored on Nov 7 2016, 12:53 PM
Parents
rOb41e5bcfaeab: Check for duplicates in mail map
Branches
Unknown
Tags
Unknown