tog: reset matched and search data after C-l otherwise they point to free'd data. ok stsp@
diff --git a/tog/tog.c b/tog/tog.c
index 8782d22..a3b1cc5 100644
--- a/tog/tog.c
+++ b/tog/tog.c
@@ -2800,6 +2800,8 @@ input_log_view(struct tog_view **new_view, struct tog_view *view, int ch)
s->thread_args.log_complete = 0;
s->quit = 0;
s->thread_args.commits_needed = view->nlines;
+ s->matched_entry = NULL;
+ s->search_entry = NULL;
break;
case 'r':
if (view_is_parent_view(view))