make tog blame thread close its repo when done
diff --git a/tog/tog.c b/tog/tog.c
index 74bb49f..588d1b0 100644
--- a/tog/tog.c
+++ b/tog/tog.c
@@ -1271,6 +1271,8 @@ blame_thread(void *arg)
err = got_blame_incremental(ta->path, a->commit_id, ta->repo,
blame_cb, ta->cb_args);
+ got_repo_close(ta->repo);
+ ta->repo = NULL;
*ta->complete = 1;
if (err)
return (void *)err;