summaryrefslogtreecommitdiff
path: root/pith
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2016-02-01 21:19:43 -0700
committerEduardo Chappa <chappa@washington.edu>2016-02-01 21:19:43 -0700
commit160c65c07175315edddfec7297ad400486a8cabd (patch)
treee2c8ebaa4866366cb3fb88bc0813f5e991931881 /pith
parente8d813ec09607b9466e97155ffd35e27d485ef8a (diff)
downloadalpine-160c65c07175315edddfec7297ad400486a8cabd.tar.xz
* Added support for RFC 2971 - IMAP ID extension.
Diffstat (limited to 'pith')
-rw-r--r--pith/state.c3
-rw-r--r--pith/state.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/pith/state.c b/pith/state.c
index d3a7cbe6..1fc3c90e 100644
--- a/pith/state.c
+++ b/pith/state.c
@@ -116,6 +116,9 @@ free_pine_struct(struct pine **pps)
if(!(pps && (*pps)))
return;
+ if((*pps)->id != NULL)
+ mail_free_idlist(&(*pps)->id);
+
if((*pps)->hostname != NULL)
fs_give((void **)&(*pps)->hostname);
diff --git a/pith/state.h b/pith/state.h
index 4c908106..1b9eb934 100644
--- a/pith/state.h
+++ b/pith/state.h
@@ -109,6 +109,7 @@ struct pine {
char cur_folder[MAXPATH+1];
QUOTALIST *quota;
+ IDLIST *id;
char last_unambig_folder[MAXPATH+1];
char last_save_folder[MAXPATH+1];
CONTEXT_S *last_save_context;