summaryrefslogtreecommitdiff
path: root/pith
diff options
context:
space:
mode:
Diffstat (limited to 'pith')
-rw-r--r--pith/imap.c7
-rw-r--r--pith/pine.hlp2
2 files changed, 8 insertions, 1 deletions
diff --git a/pith/imap.c b/pith/imap.c
index fb7c3972..f91937b1 100644
--- a/pith/imap.c
+++ b/pith/imap.c
@@ -1125,6 +1125,10 @@ imap_flush_passwd_cache(int dumpcache)
if(l->user)
fs_give((void **) &l->user);
+ if(!(l->passwd >= (char *) private_store
+ && l->passwd <= p))
+ fs_give((void **) &l->passwd);
+
free_strlist(&l->hosts);
fs_give((void **) &l);
@@ -1134,6 +1138,9 @@ imap_flush_passwd_cache(int dumpcache)
cert_failure_list = cert_failure_list->next;
if(l->user)
fs_give((void **) &l->user);
+ if(!(l->passwd >= (char *) private_store
+ && l->passwd <= p))
+ fs_give((void **) &l->passwd);
free_strlist(&l->hosts);
diff --git a/pith/pine.hlp b/pith/pine.hlp
index 3f57c965..2faba34f 100644
--- a/pith/pine.hlp
+++ b/pith/pine.hlp
@@ -140,7 +140,7 @@ with help text for the config screen and the composer that didn't have any
reasonable place to be called from.
Dummy change to get revision in pine.hlp
============= h_revision =================
-Alpine Commit 578 2021-08-21 15:09:38
+Alpine Commit 579 2021-08-23 21:16:41
============= h_news =================
<HTML>
<HEAD>