Commit Diff
--- tog/tog.c +++ tog/tog.c @@ -5610,8 +5610,6 @@ open_diff_view(struct tog_view *view, struct got_objec s->last_displayed_line = view->nlines; s->selected_line = 1; s->repo = repo; - s->id1 = id1; - s->id2 = id2; s->label1 = label1; s->label2 = label2; @@ -6200,6 +6198,8 @@ done: free(keyword_idstr2); free(label1); free(label2); + free(id1); + free(id2); free(repo_path); free(cwd); if (repo) {