summaryrefslogtreecommitdiff
path: root/pith
diff options
context:
space:
mode:
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;