Commit Diff


commit - fd823528bd4ec73513650aaa62c40778bd94b0f5
commit + 797bc7b9c23dea7041e152b5fe410c0c762eb416
blob - 9a794e275b56ad3278ac71bc922cab11072cba5c
blob + 220eb8ceb0493512a82f2c08d172311605f37f14
--- tog/tog.c
+++ tog/tog.c
@@ -1352,7 +1352,9 @@ close_log_view(struct tog_view *view)
 	err = stop_log_thread(s);
 	free_commits(&s->commits);
 	free(s->in_repo_path);
+	s->in_repo_path = NULL;
 	free(s->start_id);
+	s->start_id = NULL;
 	return err;
 }