summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'st.c')
-rw-r--r--st.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/st.c b/st.c
index ce2b7eecc5..c14ea4a7e3 100644
--- a/st.c
+++ b/st.c
@@ -214,6 +214,7 @@ st_clear(st_table *table)
ptr = next;
}
}
+ table->num_entries = 0;
table->head = 0;
}