summaryrefslogtreecommitdiff
path: root/pith/state.c
diff options
context:
space:
mode:
Diffstat (limited to 'pith/state.c')
-rw-r--r--pith/state.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/pith/state.c b/pith/state.c
index f0212270..a7728d67 100644
--- a/pith/state.c
+++ b/pith/state.c
@@ -138,6 +138,12 @@ free_pine_struct(struct pine **pps)
if((*pps)->folders_dir != NULL)
fs_give((void **)&(*pps)->folders_dir);
+ if((*pps)->html_dir != NULL)
+ fs_give((void **)&(*pps)->html_dir);
+
+ if((*pps)->html_dir_list != NULL)
+ free_html_log(&(*pps)->html_dir_list);
+
if((*pps)->ui.homedir)
fs_give((void **)&(*pps)->ui.homedir);