X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=blobdiff_plain;f=src%2Fmain.c;h=c74b21ebe7ba22013742aa56c2a6bfa5121973cd;hp=c27cf00542397fadb4519e34dd9578a072387c58;hb=249bb0f0146e95523d80794f8502bbe346f32d0f;hpb=7c0c402be0febbb0569df31a1893c7294f68f120 diff --git a/src/main.c b/src/main.c index c27cf0054..c74b21ebe 100644 --- a/src/main.c +++ b/src/main.c @@ -47,6 +47,7 @@ #if USE_GPGME # include +# include "passphrase.h" #endif #include "intl.h" @@ -414,6 +415,10 @@ void app_will_exit(GtkWidget *widget, gpointer data) inc_autocheck_timer_remove(); +#if USE_GPGME + gpgmegtk_free_passphrase(); +#endif + if (prefs_common.clean_on_exit) main_window_empty_trash(mainwin, prefs_common.ask_on_clean);