Commit Diff


commit - bf935370ba5b03432f48ab4d05d6dc74416a85a6
commit + 39b13ff711838acc339b6d915caabdc63e9b81fb
blob - aa85f2b8235d29cfc9d1d75ef6a0706caf954e34
blob + 77b8e9236e97495ede9710eb5ab0d922a445ad8d
--- hist.c
+++ hist.c
@@ -40,6 +40,7 @@ hist_clear_forward(struct histhead *head, struct hist 
 	hist_clear_forward(head, TAILQ_NEXT(h, entries));
 	TAILQ_REMOVE(&head->head, h, entries);
 	free(h);
+	head->len--;
 }
 
 void