aboutsummaryrefslogtreecommitdiffstats
path: root/gpgwin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gpgwin.cpp')
-rw-r--r--gpgwin.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gpgwin.cpp b/gpgwin.cpp
index cc721f7..53d5d1e 100644
--- a/gpgwin.cpp
+++ b/gpgwin.cpp
@@ -361,6 +361,9 @@ void GpgWin::closeEvent(QCloseEvent *event)
event->ignore();
}
+ // clear password from memory
+ mCtx->clearPasswordCache();
+
}
void GpgWin::open()