[git] GpgOL - branch, STABLE-BRANCH-2-3, updated. gpgol-2.3.0-5-gf36a658

by Andre Heinecke cvs at cvs.gnupg.org
Thu Sep 6 15:04:46 CEST 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG extension for MS Outlook".

The branch, STABLE-BRANCH-2-3 has been updated
       via  f36a658429d71c8abdb4176bdc543179093a1406 (commit)
      from  4b84e078d28ec572b9181009867d3c0555dee50c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f36a658429d71c8abdb4176bdc543179093a1406
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Thu Sep 6 15:03:13 2018 +0200

    Keep strong ref after submit message
    
    * src/windowmessages.cpp (gpgol_window_proc): Keep strong
    ref in send fallback.
    
    --
    The close cleans up the mail. If we release the strong ref
    here it crashes sometimes.
    
    GnuPG-Bug-Id: T4131

diff --git a/src/windowmessages.cpp b/src/windowmessages.cpp
index e0c5bab..ff8a1db 100644
--- a/src/windowmessages.cpp
+++ b/src/windowmessages.cpp
@@ -187,9 +187,12 @@ gpgol_window_proc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
                                  ERR_SEND_FALLBACK_FAILED);
                     }
                 }
+              else
+                {
+                  mail->releaseCurrentItem ();
+                }
               log_debug ("%s:%s:  Send for %p completed.",
                          SRCNAME, __func__, mail);
-              mail->releaseCurrentItem ();
               break;
             }
           case (BRING_TO_FRONT):

-----------------------------------------------------------------------

Summary of changes:
 src/windowmessages.cpp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
GnuPG extension for MS Outlook
http://git.gnupg.org




More information about the Gnupg-commits mailing list