Home GnuPG
Diffusion GpgOL 909a57ff02cd

Add memdbg handling for MAPI

Description

Add memdbg handling for MAPI

* src/gpgoladdin.cpp (GpgolAddin::OnConnection): Ref application.
* src/mapihelp.cpp: Replace OpenProperty by gpgol_openProperty.
memdbg_addRef for some MAPI functions that return an object.
* src/mimemaker.cpp: Replace OpenProperty by gpgol_openProperty.
* src/mlang-charset.cpp (ansi_charset_to_utf8): Mark multilang
as reffed.
* src/olflange.cpp (install_forms): Mark formcontainer as reffed.
* src/oomhelp.cpp, src/oomhelp.h (gpgol_queryInterface): New.
(get_oom_iunknown): Add ref.
(get_oom_base_message_from_mapi): Add ref.
* src/ribbon-callbacks.cpp (getIcon): Add ref on stream and
change it to be automatically freed as we don't free it.

Details

Provenance
aheineckeAuthored on Jul 20 2018, 10:34 AM
Parents
rO5959ec68f8ae: Improve GpgolAddin debug output
Branches
Unknown
Tags
Unknown