summaryrefslogtreecommitdiff
path: root/pith/state.c
diff options
context:
space:
mode:
Diffstat (limited to 'pith/state.c')
-rw-r--r--pith/state.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/pith/state.c b/pith/state.c
index e88c27f6..94f95f10 100644
--- a/pith/state.c
+++ b/pith/state.c
@@ -183,6 +183,9 @@ free_pine_struct(struct pine **pps)
if((*pps)->hdr_colors)
free_spec_colors(&(*pps)->hdr_colors);
+ if((*pps)->index_token_colors)
+ free_spec_colors(&(*pps)->index_token_colors);
+
if((*pps)->keywords)
free_keyword_list(&(*pps)->keywords);